20251018_031001.289 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.290 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.290 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.291 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTA0YjE1NjUtMmI1Yy00N2Y2LWFlNjMtNWRkNzdlNjMwMDcwIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjI5MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.291 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "a04b1565-2b5c-47f6-ae63-5dd77e630070", "timestamp": "2025-10-18T03:10:01.290Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.291 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "a04b1565-2b5c-47f6-ae63-5dd77e630070", "timestamp": "2025-10-18T03:10:01.290Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.291 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.292 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "a04b1565-2b5c-47f6-ae63-5dd77e630070", "timestamp": "2025-10-18T03:10:01.290Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.292 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251018_031001.293 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_031001.293 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZmI2Yjk2ZWQtMWRmYS00ZjIzLWFiYzUtMmNjYmNjY2M5NWIzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjI5M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251018_031001.293 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.294 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "fb6b96ed-1dfa-4f23-abc5-2ccbcccc95b3", "timestamp": "2025-10-18T03:10:01.293Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.294 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_both'] 20251018_031001.294 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "fb6b96ed-1dfa-4f23-abc5-2ccbcccc95b3", "timestamp": "2025-10-18T03:10:01.293Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"} 20251018_031001.294 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.294 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.304 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.305 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTBkNzdhMmMtNzExNS00M2Q2LWI5ZmYtZTc0YzE2NThhZmNmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjMwNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.306 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "10d77a2c-7115-43d6-b9ff-e74c1658afcf", "timestamp": "2025-10-18T03:10:01.305Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.306 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "10d77a2c-7115-43d6-b9ff-e74c1658afcf", "timestamp": "2025-10-18T03:10:01.305Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.306 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.306 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "10d77a2c-7115-43d6-b9ff-e74c1658afcf", "timestamp": "2025-10-18T03:10:01.305Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.307 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251018_031001.307 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_031001.307 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiOWJmNDU1ZDMtODNiYy00NjI2LWE2YjktMjgyY2EyZGQ5YWUzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjMwN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251018_031001.308 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.308 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "9bf455d3-83bc-4626-a6b9-282ca2dd9ae3", "timestamp": "2025-10-18T03:10:01.307Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.308 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.309 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "9bf455d3-83bc-4626-a6b9-282ca2dd9ae3", "timestamp": "2025-10-18T03:10:01.307Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.309 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.310 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.310 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiYWY2NWU5MmYtNDkyYi00ZGRkLWJkMTYtZjliNGM5NDAxMmI1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjMxMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251018_031001.310 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.311 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 2, "update_id": "af65e92f-492b-4ddd-bd16-f9b4c94012b5", "timestamp": "2025-10-18T03:10:01.310Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.311 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_031001.311 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.311 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.311 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.331 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.332 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.332 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.332 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDhkOTkxNTUtMWJlNy00ZTdjLWJmNGEtZDE1N2EwNzRiY2MzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjMzMloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.333 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "48d99155-1be7-4e7c-bf4a-d157a074bcc3", "timestamp": "2025-10-18T03:10:01.332Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.333 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "48d99155-1be7-4e7c-bf4a-d157a074bcc3", "timestamp": "2025-10-18T03:10:01.332Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.334 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.334 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.334 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20251018_031001.335 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "48d99155-1be7-4e7c-bf4a-d157a074bcc3", "timestamp": "2025-10-18T03:10:01.332Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.335 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20251018_031001.335 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20251018_031001.335 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}], "unexpected": [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": []} 20251018_031001.336 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "48d99155-1be7-4e7c-bf4a-d157a074bcc3", "timestamp": "2025-10-18T03:10:01.332Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.336 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "48d99155-1be7-4e7c-bf4a-d157a074bcc3", "timestamp": "2025-10-18T03:10:01.332Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"} 20251018_031001.336 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.337 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.337 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.353 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251018_031001.353 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.354 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251018_031001.354 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.354 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.354 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.355 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.363 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251018_031001.363 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.363 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251018_031001.364 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.364 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.364 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.364 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.372 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.373 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.373 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.374 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjA2Nzk3ZWMtZDM1Ni00ZjEyLThjOTEtOTI0MWQ4NzA2OTM5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjM3M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.374 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "606797ec-d356-4f12-8c91-9241d8706939", "timestamp": "2025-10-18T03:10:01.373Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.374 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "606797ec-d356-4f12-8c91-9241d8706939", "timestamp": "2025-10-18T03:10:01.373Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.374 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.375 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.375 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.375 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "606797ec-d356-4f12-8c91-9241d8706939", "timestamp": "2025-10-18T03:10:01.373Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.375 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.376 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.376 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjkyNjRjNjMtOGE1NS00ZmUyLWJhMjktNmEyY2UwMzUxZmM4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjM3NloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251018_031001.377 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.377 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "f9264c63-8a55-4fe2-ba29-6a2ce0351fc8", "timestamp": "2025-10-18T03:10:01.376Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.377 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251018_031001.377 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.378 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.378 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.378 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.378 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.378 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.378 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.393 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251018_031001.394 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.394 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251018_031001.394 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.394 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.395 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.395 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.402 INFO MainThread mock-context-logger.test_wrong_ctx_policy_update: cloudify.relationships.depends_on not a node boom: can only invoke update_policies_on_node on node 20251018_031001.402 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.406 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.407 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWZlZGEyZWEtZDVhMS00NDgyLTgzMjQtMzhjZWE4MjBmYWMyIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQwN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.408 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "efeda2ea-d5a1-4482-8324-38cea820fac2", "timestamp": "2025-10-18T03:10:01.407Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.408 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "efeda2ea-d5a1-4482-8324-38cea820fac2", "timestamp": "2025-10-18T03:10:01.407Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.408 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.409 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "efeda2ea-d5a1-4482-8324-38cea820fac2", "timestamp": "2025-10-18T03:10:01.407Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.409 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251018_031001.409 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.409 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.410 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "efeda2ea-d5a1-4482-8324-38cea820fac2", "timestamp": "2025-10-18T03:10:01.407Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.410 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.424 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.425 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.425 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.426 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTJlYTA3MTYtYTA2Mi00Y2Q0LTk1YzUtOTA2ZDIyZTRkNGExIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQyNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.426 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "52ea0716-a062-4cd4-95c5-906d22e4d4a1", "timestamp": "2025-10-18T03:10:01.425Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.426 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "52ea0716-a062-4cd4-95c5-906d22e4d4a1", "timestamp": "2025-10-18T03:10:01.425Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.427 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.427 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "52ea0716-a062-4cd4-95c5-906d22e4d4a1", "timestamp": "2025-10-18T03:10:01.425Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.427 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251018_031001.428 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_031001.428 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMGY4YjIyNzYtYmFlZi00NmNjLWFjMjUtNmZiNWJiMTU1OWI5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQyOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251018_031001.428 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.429 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "0f8b2276-baef-46cc-ac25-6fb5bb1559b9", "timestamp": "2025-10-18T03:10:01.428Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.429 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.429 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.429 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "0f8b2276-baef-46cc-ac25-6fb5bb1559b9", "timestamp": "2025-10-18T03:10:01.428Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.430 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.430 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.430 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiYjYxNTZlMDEtNjRhMi00ZDE5LWJmZmUtZGNkYzNmMzc2YjNjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQzMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251018_031001.431 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.431 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 2, "update_id": "b6156e01-64a2-4d19-bffe-dcdc3f376b3c", "timestamp": "2025-10-18T03:10:01.430Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.431 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251018_031001.431 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.432 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.432 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.450 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.451 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251018_031001.451 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.451 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251018_031001.451 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.456 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.457 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.457 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.457 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTA2NTExYjktNjVjMi00NjQ1LWIwZGMtNjQwNWZkODg5ZjI5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQ1N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.458 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "506511b9-65c2-4645-b0dc-6405fd889f29", "timestamp": "2025-10-18T03:10:01.457Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.458 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "506511b9-65c2-4645-b0dc-6405fd889f29", "timestamp": "2025-10-18T03:10:01.457Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.458 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.459 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.459 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.459 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "506511b9-65c2-4645-b0dc-6405fd889f29", "timestamp": "2025-10-18T03:10:01.457Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.459 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.460 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.460 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTlmNjYzYWUtOWUxMS00Y2VkLTk5ZmItYWM4MDFkOWFkZTZlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQ2MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251018_031001.460 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.461 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "99f663ae-9e11-4ced-99fb-ac801d9ade6e", "timestamp": "2025-10-18T03:10:01.460Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.461 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251018_031001.461 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.461 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.462 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.462 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.462 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.462 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.462 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.478 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.479 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.479 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.479 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGYzNTM4OWMtOWEzYi00MDVhLWIwNDAtYjQ3YzFmNjI3ZjI2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQ3OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.480 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "8f35389c-9a3b-405a-b040-b47c1f627f26", "timestamp": "2025-10-18T03:10:01.479Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.480 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "8f35389c-9a3b-405a-b040-b47c1f627f26", "timestamp": "2025-10-18T03:10:01.479Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.480 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.480 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"config": ["damaged config"], "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.481 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.481 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "8f35389c-9a3b-405a-b040-b47c1f627f26", "timestamp": "2025-10-18T03:10:01.479Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.481 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": ["damaged config"], "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.482 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.482 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDk4ZjQ5MzgtYzM2MS00YmQ4LThhYzYtNzhiNTc1NDQ5ZDczIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjQ4MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}] 20251018_031001.482 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.483 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": ["damaged config"], "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "d98f4938-c361-4bd8-8ac6-78b575449d73", "timestamp": "2025-10-18T03:10:01.482Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.483 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_031001.483 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"unexpected": "foo", "none": null}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.483 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": ["damaged config"], "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.483 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.484 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.484 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.484 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.484 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.498 INFO MainThread mock-context-logger.test_wrong_ctx_node_configure: cloudify.relationships.depends_on not a node boom: can only invoke gather_policies_to_node on node 20251018_031001.498 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.502 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.503 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.503 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.504 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDQwZDE2NjEtMzVkZS00NzQxLThhMmYtOGJiN2I0MDY1NjYzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjUwNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.504 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "040d1661-35de-4741-8a2f-8bb7b4065663", "timestamp": "2025-10-18T03:10:01.504Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.504 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "040d1661-35de-4741-8a2f-8bb7b4065663", "timestamp": "2025-10-18T03:10:01.504Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.505 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.505 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.514 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251018_031001.514 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.515 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.515 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.515 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.515 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.524 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.525 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.525 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.525 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjk1MjYwYjQtNzQwZS00MDQ2LTliZjItNGYyNzgwNGJkYzY0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjUyNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.526 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "695260b4-740e-4046-9bf2-4f27804bdc64", "timestamp": "2025-10-18T03:10:01.525Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.526 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "695260b4-740e-4046-9bf2-4f27804bdc64", "timestamp": "2025-10-18T03:10:01.525Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.526 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.526 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251018_031001.528 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251018_031001.528 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.536 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.537 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.537 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.537 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.537 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_configure"} 20251018_031001.538 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251018_031001.538 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.542 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251018_031001.543 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.543 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251018_031001.543 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.543 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.544 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.544 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.551 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.551 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20251018_031001.551 INFO MainThread mock-context-logger.test_exception_on_gather: monkeyed_set_policies_boom: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20251018_031001.551 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.556 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251018_031001.556 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.556 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251018_031001.556 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.557 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.557 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.565 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.566 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.566 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.566 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTc0MDU1ODMtZDYzNy00YjZhLWE3MjUtMzBlMGM4ZjdkM2QwIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjU2NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.567 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "e7405583-d637-4b6a-a725-30e0c8f7d3d0", "timestamp": "2025-10-18T03:10:01.566Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.567 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "e7405583-d637-4b6a-a725-30e0c8f7d3d0", "timestamp": "2025-10-18T03:10:01.566Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.567 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.568 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "e7405583-d637-4b6a-a725-30e0c8f7d3d0", "timestamp": "2025-10-18T03:10:01.566Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.568 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251018_031001.569 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_031001.569 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZGI1YmJlNWEtODBlMS00OTJhLTg3YzItOTJkNTdhMzI4OWU5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjU2OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251018_031001.569 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.570 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "db5bbe5a-80e1-492a-87c2-92d57a3289e9", "timestamp": "2025-10-18T03:10:01.569Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.570 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "db5bbe5a-80e1-492a-87c2-92d57a3289e9", "timestamp": "2025-10-18T03:10:01.569Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.570 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251018_031001.570 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_031001.571 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "db5bbe5a-80e1-492a-87c2-92d57a3289e9", "timestamp": "2025-10-18T03:10:01.569Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.571 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_both'] 20251018_031001.571 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 0, "update_id": "db5bbe5a-80e1-492a-87c2-92d57a3289e9", "timestamp": "2025-10-18T03:10:01.569Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update"} 20251018_031001.571 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.572 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.589 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.589 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.590 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.590 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.590 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "exe_task": "node_configure"} 20251018_031001.590 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251018_031001.590 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.595 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.596 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.597 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.597 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzk1MDE5MmUtN2Y3Yi00MjNkLWFmOTMtZWNhMzRiN2M3MzJkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjU5N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.597 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "3950192e-7f7b-423d-af93-eca34b7c732d", "timestamp": "2025-10-18T03:10:01.597Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.598 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "3950192e-7f7b-423d-af93-eca34b7c732d", "timestamp": "2025-10-18T03:10:01.597Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.598 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.598 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "3950192e-7f7b-423d-af93-eca34b7c732d", "timestamp": "2025-10-18T03:10:01.597Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.599 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251018_031001.599 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.599 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.599 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "3950192e-7f7b-423d-af93-eca34b7c732d", "timestamp": "2025-10-18T03:10:01.597Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.600 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.615 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.616 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_031001.616 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.616 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDAyYWU5ODUtZTA4Yy00ZjU1LWE5ODUtZmM2ODg5OTM5NWE4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjYxNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDQ6MTA6MDEuMjY1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNjoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}] 20251018_031001.617 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "002ae985-e08c-4f55-a985-fc68899395a8", "timestamp": "2025-10-18T03:10:01.616Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.617 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "002ae985-e08c-4f55-a985-fc68899395a8", "timestamp": "2025-10-18T03:10:01.616Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251018_031001.617 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_031001.617 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_031001.617 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_031001.618 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml"}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "002ae985-e08c-4f55-a985-fc68899395a8", "timestamp": "2025-10-18T03:10:01.616Z", "action": "gathered"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.618 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_031001.618 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_031001.619 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDRhODk4YjktZTkxYi00OWFjLThjYWEtYmZhMGI1ZDUwMmNiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDAzOjEwOjAxLjYxOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwMzoxMDowMS4yNjVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA2OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA0OjEwOjAxLjI2NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251018_031001.619 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"} 20251018_031001.620 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"policies_count": 4, "update_id": "d4a898b9-e91b-49ac-8caa-bfa0b5d502cb", "timestamp": "2025-10-18T03:10:01.618Z", "action": "updated"}, "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-18T07:10:01.265Z", "policy_updated_from_ver": "4"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.620 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_031001.620 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_031001.620 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-18T04:10:01.265Z", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_031001.620 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.620 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.621 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_031001.621 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-18T06:10:01.265Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml"}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_031001.621 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_031001.636 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-18T03:10:01.265Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}}, "task_id": null, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-18T05:10:01.265Z", "policy_updated_from_ver": "2"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "properties": {}}}}]}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_name": null, "type": "node-instance", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251018_031001.636 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20251018_031001.636 INFO MainThread mock-context-logger.test_exception_on_update: monkeyed_update_policies_boom: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20251018_031001.636 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear