20260418_031039.793 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.794 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.795 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.795 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43OTVaIiwgInVwZGF0ZV9pZCI6ICJlZjY3Nzc5YS00NGY1LTRkMjgtODZiZi1mNTY2Y2U2YmEwOGQiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.795 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.795Z", "update_id": "ef67779a-44f5-4d28-86bf-f566ce6ba08d", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.795Z", "update_id": "ef67779a-44f5-4d28-86bf-f566ce6ba08d", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.796 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20260418_031039.797 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.797 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}} 20260418_031039.797 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.797 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}} 20260418_031039.797 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.804 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.804 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) 20260418_031039.804 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) 20260418_031039.804 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.808 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260418_031039.809 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.809 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260418_031039.809 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.809 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.810 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.817 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260418_031039.817 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.818 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260418_031039.818 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.818 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.819 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.819 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.826 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260418_031039.826 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.827 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.827 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.827 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.827 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.836 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.837 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.837 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.837 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44MzdaIiwgInVwZGF0ZV9pZCI6ICJkYjc0Y2NhMi0zZTc2LTQzNGMtYTU5Ni05ZmJmOTY3MzI4NDIiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.838 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.837Z", "update_id": "db74cca2-3e76-434c-a596-9fbf96732842", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.838 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.837Z", "update_id": "db74cca2-3e76-434c-a596-9fbf96732842", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.838 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.838 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031039.838 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031039.839 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.837Z", "update_id": "db74cca2-3e76-434c-a596-9fbf96732842", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.839 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031039.839 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031039.840 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44MzlaIiwgInVwZGF0ZV9pZCI6ICIyZmZkOWFjYi1lMjcxLTQ4NDQtYTEyNC1kZmJhZWUxOGUyZDAiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031039.840 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.841 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.839Z", "update_id": "2ffd9acb-e271-4844-a124-dfbaee18e2d0", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.841 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260418_031039.841 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.841 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.841 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.841 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20260418_031039.842 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.842 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20260418_031039.842 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.857 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260418_031039.858 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.858 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260418_031039.858 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.858 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.859 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.859 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.866 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.867 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.868 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.868 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44NjhaIiwgInVwZGF0ZV9pZCI6ICJiNDc4ODg0ZS1iMjBjLTQ5ZTgtOWZhYS0xZDY1OGQ1NzU3ZGEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.868 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.868Z", "update_id": "b478884e-b20c-49e8-9faa-1d658d5757da", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.869 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.868Z", "update_id": "b478884e-b20c-49e8-9faa-1d658d5757da", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.869 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.869 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.868Z", "update_id": "b478884e-b20c-49e8-9faa-1d658d5757da", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.870 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260418_031039.870 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260418_031039.870 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44NzBaIiwgInVwZGF0ZV9pZCI6ICJmZGFhY2ZjMS1lMmY5LTQ3ZWMtYjZhMy03MzNhMTM3ZDBjZTYiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260418_031039.871 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.871 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.870Z", "update_id": "fdaacfc1-e2f9-47ec-b6a3-733a137d0ce6", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.871 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260418_031039.871 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.870Z", "update_id": "fdaacfc1-e2f9-47ec-b6a3-733a137d0ce6", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.871 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.872 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.886 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.886 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.887 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.887 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44ODdaIiwgInVwZGF0ZV9pZCI6ICIwOTljZjI2NC0xYjQ0LTQzNDAtOTZkZi1iYzA0ZTBlNWVlNTEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.888 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.887Z", "update_id": "099cf264-1b44-4340-96df-bc04e0e5ee51", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.888 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.887Z", "update_id": "099cf264-1b44-4340-96df-bc04e0e5ee51", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.888 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.888 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.887Z", "update_id": "099cf264-1b44-4340-96df-bc04e0e5ee51", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.889 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260418_031039.889 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260418_031039.889 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS44ODlaIiwgInVwZGF0ZV9pZCI6ICI5N2U5MmQwZS01MWQwLTQ4NzgtODg0MS00NGE1NzE3OWMyZjEiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260418_031039.890 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.890 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.889Z", "update_id": "97e92d0e-51d0-4878-8841-44a57179c2f1", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.891 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.889Z", "update_id": "97e92d0e-51d0-4878-8841-44a57179c2f1", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.891 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260418_031039.891 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260418_031039.891 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.889Z", "update_id": "97e92d0e-51d0-4878-8841-44a57179c2f1", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.892 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260418_031039.892 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.889Z", "update_id": "97e92d0e-51d0-4878-8841-44a57179c2f1", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.892 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.892 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.910 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.911 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.912 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.912 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS45MTJaIiwgInVwZGF0ZV9pZCI6ICI4ZTY0NDMyNS1kYWVhLTQ4NzMtYWI5OC0xMzY4NDNlZWQyZmMiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.912 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.912Z", "update_id": "8e644325-daea-4873-ab98-136843eed2fc", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.913 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.912Z", "update_id": "8e644325-daea-4873-ab98-136843eed2fc", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.913 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.913 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.912Z", "update_id": "8e644325-daea-4873-ab98-136843eed2fc", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.913 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260418_031039.914 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.914 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.914 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.912Z", "update_id": "8e644325-daea-4873-ab98-136843eed2fc", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.914 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.928 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.928 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260418_031039.928 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.928 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260418_031039.928 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.932 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.933 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.933 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.933 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.933 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", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}} 20260418_031039.933 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260418_031039.933 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.937 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 20260418_031039.937 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.940 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.940 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) 20260418_031039.941 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) 20260418_031039.941 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.944 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 20260418_031039.944 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.948 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.949 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.949 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.949 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS45NDlaIiwgInVwZGF0ZV9pZCI6ICJjZjYyODc3ZC1iZmJiLTRiMGItOTRkYi0xNTljZDRjZjczOWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.950 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.949Z", "update_id": "cf62877d-bfbb-4b0b-94db-159cd4cf739d", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.950 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.949Z", "update_id": "cf62877d-bfbb-4b0b-94db-159cd4cf739d", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.950 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.950 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.949Z", "update_id": "cf62877d-bfbb-4b0b-94db-159cd4cf739d", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.951 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260418_031039.951 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260418_031039.951 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS45NTFaIiwgInVwZGF0ZV9pZCI6ICJiNGE3ODc5ZS0wZDdlLTQxYjItOTU1YS1jNzgwMDJjYzVjYWQiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260418_031039.952 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.952 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.951Z", "update_id": "b4a7879e-0d7e-41b2-955a-c78002cc5cad", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.952 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031039.953 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031039.953 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.951Z", "update_id": "b4a7879e-0d7e-41b2-955a-c78002cc5cad", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.953 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031039.953 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031039.954 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS45NTRaIiwgInVwZGF0ZV9pZCI6ICIyMzAwM2MzOC1iN2JhLTQ1NmEtOGJjMi0xNjY3MjU5NjAwMzciLCAicG9saWNpZXNfY291bnQiOiAyLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031039.954 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.954 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.954Z", "update_id": "23003c38-b7ba-456a-8bc2-166725960037", "policies_count": 2, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.955 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260418_031039.955 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.955 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031039.955 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.974 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260418_031039.975 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.975 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260418_031039.975 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.975 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.975 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.976 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.983 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.984 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.985 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.985 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS45ODVaIiwgInVwZGF0ZV9pZCI6ICI0YzBiY2IxNC01ZDczLTQzNTEtYWYzMC1kMzFmOTYwODc3YjMiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031039.985 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.985Z", "update_id": "4c0bcb14-5d73-4351-af30-d31f960877b3", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.986 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:39.985Z", "update_id": "4c0bcb14-5d73-4351-af30-d31f960877b3", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031039.986 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031039.986 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031039.994 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.994 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031039.995 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031039.995 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}}, "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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031039.995 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", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}} 20260418_031039.995 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260418_031039.995 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.001 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260418_031040.001 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.001 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260418_031040.001 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.002 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.002 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.002 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.010 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.011 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.011 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.011 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wMTFaIiwgInVwZGF0ZV9pZCI6ICIzNTEwZmVjNS0zNDg4LTRkZmItOTEwMi0zNjc5MmVjMTJkY2UiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.012 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.011Z", "update_id": "3510fec5-3488-4dfb-9102-36792ec12dce", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.012 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.011Z", "update_id": "3510fec5-3488-4dfb-9102-36792ec12dce", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.012 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.012 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031040.012 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031040.013 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.011Z", "update_id": "3510fec5-3488-4dfb-9102-36792ec12dce", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.013 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031040.013 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031040.014 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wMTNaIiwgInVwZGF0ZV9pZCI6ICI0MGExMGJlNS1mOTFlLTRlM2YtOTczYi00YjZjODM4YjViNDIiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031040.014 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.015 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.013Z", "update_id": "40a10be5-f91e-4e3f-973b-4b6c838b5b42", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.015 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260418_031040.015 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.015 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.015 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.015 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20260418_031040.016 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.016 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20260418_031040.016 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.031 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.032 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.032 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.032 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wMzJaIiwgInVwZGF0ZV9pZCI6ICIxNjE3ZDI0ZC00NTUzLTRkZmYtOThmMi01MTAxYWZmYjNmNjUiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.033 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.032Z", "update_id": "1617d24d-4553-4dff-98f2-5101affb3f65", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.033 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.032Z", "update_id": "1617d24d-4553-4dff-98f2-5101affb3f65", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.033 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.034 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.032Z", "update_id": "1617d24d-4553-4dff-98f2-5101affb3f65", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.034 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260418_031040.034 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260418_031040.035 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wMzVaIiwgInVwZGF0ZV9pZCI6ICI2OGZmNDdhMi0zMDNiLTQ3ZDYtODEyNy0wODQ1NzI5Y2JjY2IiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260418_031040.035 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.036 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.035Z", "update_id": "68ff47a2-303b-47d6-8127-0845729cbccb", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.036 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260418_031040.036 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031040.036 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031040.036 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.035Z", "update_id": "68ff47a2-303b-47d6-8127-0845729cbccb", "policies_count": 0, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.037 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031040.037 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031040.037 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wMzdaIiwgInVwZGF0ZV9pZCI6ICI1MDExMWIwMi0yZWYxLTQwNzItODM2MC00NzJlYzEyMzc1ZDAiLCAicG9saWNpZXNfY291bnQiOiAyLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031040.037 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.038 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.037Z", "update_id": "50111b02-2ef1-4072-8360-472ec12375d0", "policies_count": 2, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.038 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260418_031040.038 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.038 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.039 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.057 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.058 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.058 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.059 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wNTlaIiwgInVwZGF0ZV9pZCI6ICI4MjlkZjJhYi1lOWZhLTQyMzgtOTlhNC1hMWJjZDY1NWEwYTUiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.059 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.059Z", "update_id": "829df2ab-e9fa-4238-99a4-a1bcd655a0a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.060 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.059Z", "update_id": "829df2ab-e9fa-4238-99a4-a1bcd655a0a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.060 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.060 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.059Z", "update_id": "829df2ab-e9fa-4238-99a4-a1bcd655a0a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.060 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260418_031040.061 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.061 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.061 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.059Z", "update_id": "829df2ab-e9fa-4238-99a4-a1bcd655a0a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.061 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.076 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.077 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.077 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.077 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wNzdaIiwgInVwZGF0ZV9pZCI6ICJlNWEyMTM1ZS0wMTk0LTQ3OTMtYjcxMy0yNjQyNWFhMjA3N2EiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.078 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.077Z", "update_id": "e5a2135e-0194-4793-b713-26425aa2077a", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.078 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.077Z", "update_id": "e5a2135e-0194-4793-b713-26425aa2077a", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.078 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.078 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.079 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031040.079 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.077Z", "update_id": "e5a2135e-0194-4793-b713-26425aa2077a", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.080 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["<<>>"] 20260418_031040.080 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031040.080 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], "duplicate": []} 20260418_031040.080 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.077Z", "update_id": "e5a2135e-0194-4793-b713-26425aa2077a", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.081 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.077Z", "update_id": "e5a2135e-0194-4793-b713-26425aa2077a", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.081 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.081 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.081 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.097 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.098 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.099 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.099 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4wOTlaIiwgInVwZGF0ZV9pZCI6ICIzMzYyYTVjNS0yZjljLTQwZjgtODc1Ny05NmI2ZDRmMzE3MGUiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.099 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.099Z", "update_id": "3362a5c5-2f9c-40f8-8757-96b6d4f3170e", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.100 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.099Z", "update_id": "3362a5c5-2f9c-40f8-8757-96b6d4f3170e", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.100 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.100 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031040.100 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031040.101 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.099Z", "update_id": "3362a5c5-2f9c-40f8-8757-96b6d4f3170e", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.101 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031040.101 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031040.101 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4xMDFaIiwgInVwZGF0ZV9pZCI6ICI0M2Y2ZDZmNi04NTVhLTQ3YmItOGY4OS1kOWNjNjFhMmQ5ZTEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031040.102 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.102 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.101Z", "update_id": "43f6d6f6-855a-47bb-8f89-d9cc61a2d9e1", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20260418_031040.103 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.104 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20260418_031040.104 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260418_031040.119 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.120 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260418_031040.120 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.121 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4xMjBaIiwgInVwZGF0ZV9pZCI6ICJhZjU3NjlkNy05N2I4LTQzZmYtYWMzZC04Y2Y1NGE2YjEwNzMiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTE4VDA2OjEwOjM5Ljc3MFoiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDQ6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260418_031040.121 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.120Z", "update_id": "af5769d7-97b8-43ff-ac3d-8cf54a6b1073", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.121 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.120Z", "update_id": "af5769d7-97b8-43ff-ac3d-8cf54a6b1073", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20260418_031040.122 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}} 20260418_031040.122 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}] 20260418_031040.122 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260418_031040.122 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.120Z", "update_id": "af5769d7-97b8-43ff-ac3d-8cf54a6b1073", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.123 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260418_031040.123 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}} 20260418_031040.123 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0xOFQwMzoxMDo0MC4xMjNaIiwgInVwZGF0ZV9pZCI6ICIzMGM1ZDg5YS05OWU0LTRiMGItYWQzOC0yZmRiNmRiNzAzZjMiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDQtMThUMDY6MTA6MzkuNzcwWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0xOFQwMzoxMDozOS43NzBaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260418_031040.124 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"} 20260418_031040.124 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_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_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"timestamp": "2026-04-18T03:10:40.123Z", "update_id": "30c5d89a-99e4-4b0b-ad38-2fdb6db703f3", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "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": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"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"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_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"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"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"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-04-18T05:10:39.770Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"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"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"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"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"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"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-04-18T04:10:39.770Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-04-18T07:10:39.770Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "task_name": null, "task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id"} 20260418_031040.124 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-04-18T03:10:39.770Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-04-18T06:10:39.770Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null}} 20260418_031040.125 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear