20260613_031206.441 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.442 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.442 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.442 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi40NDJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDI5OGJkMWItODA5MS00ZDliLTkyMzAtZGFjMDc4ZmZkOTgwIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.443 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.442Z", "action": "gathered", "update_id": "4298bd1b-8091-4d9b-9230-dac078ffd980"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.443 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.442Z", "action": "gathered", "update_id": "4298bd1b-8091-4d9b-9230-dac078ffd980"}, "service_component_name": "unit_test_scn"} 20260613_031206.443 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.443 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "property": null}, "policy_persistent": true}] 20260613_031206.444 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.444 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.442Z", "action": "gathered", "update_id": "4298bd1b-8091-4d9b-9230-dac078ffd980"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.444 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.444 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}} 20260613_031206.445 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi40NDVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxM2JmZmZmOS00MTNkLTQ3ODQtODQwNi04ZDM4YjNkZDUwZTQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260613_031206.445 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.446 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.445Z", "action": "updated", "update_id": "13bffff9-413d-4784-8406-8d38b3dd50e4"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.446 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260613_031206.446 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false} 20260613_031206.446 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "property": null}, "policy_persistent": true} 20260613_031206.446 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.446 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.447 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.447 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.447 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.457 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.458 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.459 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.459 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi40NTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYjFjYjM0NjMtY2Y5ZC00ZWViLWExNmYtMGIyMjE0ZjUxOTg2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.460 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.459Z", "action": "gathered", "update_id": "b1cb3463-cf9d-4eeb-a16f-0b2214f51986"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.460 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.459Z", "action": "gathered", "update_id": "b1cb3463-cf9d-4eeb-a16f-0b2214f51986"}, "service_component_name": "unit_test_scn"} 20260613_031206.460 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.460 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.459Z", "action": "gathered", "update_id": "b1cb3463-cf9d-4eeb-a16f-0b2214f51986"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.461 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/"}}] 20260613_031206.461 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.461 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.462 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.459Z", "action": "gathered", "update_id": "b1cb3463-cf9d-4eeb-a16f-0b2214f51986"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.462 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.476 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.477 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) 20260613_031206.477 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) 20260613_031206.477 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.482 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.483 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.483 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.483 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi40ODNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzViYjEwNDMtZDFhNi00MTY5LWI1MDUtZWM0YzQ3OGRiYjE2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.484 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.483Z", "action": "gathered", "update_id": "35bb1043-d1a6-4169-b505-ec4c478dbb16"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.484 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.483Z", "action": "gathered", "update_id": "35bb1043-d1a6-4169-b505-ec4c478dbb16"}, "service_component_name": "unit_test_scn"} 20260613_031206.484 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260613_031206.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.485 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.483Z", "action": "gathered", "update_id": "35bb1043-d1a6-4169-b505-ec4c478dbb16"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.485 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.485 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.486 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi40ODZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3YjM2Yzc5Mi1hM2Q0LTQzMjItOGFlMy1hZTY4MDQ2MDlhY2QifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260613_031206.486 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.487 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.486Z", "action": "updated", "update_id": "7b36c792-a3d4-4322-8ae3-ae6804609acd"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.487 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260613_031206.487 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.487 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260613_031206.487 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.488 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.488 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.488 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.488 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.506 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.507 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.508 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.508 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDI5MjQ1MDQtNzM4OS00YTQwLWFiMmItZGVmZWNlZDIyNDVlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.508 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.508Z", "action": "gathered", "update_id": "d2924504-7389-4a40-ab2b-defeced2245e"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.509 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.508Z", "action": "gathered", "update_id": "d2924504-7389-4a40-ab2b-defeced2245e"}, "service_component_name": "unit_test_scn"} 20260613_031206.509 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.509 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.508Z", "action": "gathered", "update_id": "d2924504-7389-4a40-ab2b-defeced2245e"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.510 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260613_031206.510 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260613_031206.510 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41MTBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0N2EyMjdmNy02OTMzLTQxNzgtOGM3Ni1lOWM0ZDE3OGQ2YjkifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260613_031206.511 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.511 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.510Z", "action": "updated", "update_id": "47a227f7-6933-4178-8c76-e9c4d178d6b9"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.511 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260613_031206.512 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.512 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.510Z", "action": "updated", "update_id": "47a227f7-6933-4178-8c76-e9c4d178d6b9"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.512 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.512 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.513 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41MTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIyYjU4NjhlMi00ZDUwLTRkYWEtODdmZS03NzRlMmRhOWI0MzYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260613_031206.513 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.513 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2026-06-13T03:12:06.513Z", "action": "updated", "update_id": "2b5868e2-4d50-4daa-87fe-774e2da9b436"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260613_031206.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260613_031206.514 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.534 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.535 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) 20260613_031206.535 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) 20260613_031206.535 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.539 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.540 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.540 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.541 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41NDFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzRjNTczNDItOTE1Yy00NTM0LTlhOWMtMDQ1ZDYwNDAyMTA5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.541 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.541Z", "action": "gathered", "update_id": "c4c57342-915c-4534-9a9c-045d60402109"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.541 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.541Z", "action": "gathered", "update_id": "c4c57342-915c-4534-9a9c-045d60402109"}, "service_component_name": "unit_test_scn"} 20260613_031206.542 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.542 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.552 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.552 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.553 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.553 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41NTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjZhZDVjZGQtMGNiNC00ZTFmLTg1ZWMtYTNhNTlhZDMwY2QwIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.553 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.553Z", "action": "gathered", "update_id": "26ad5cdd-0cb4-4e1f-85ec-a3a59ad30cd0"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.554 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.553Z", "action": "gathered", "update_id": "26ad5cdd-0cb4-4e1f-85ec-a3a59ad30cd0"}, "service_component_name": "unit_test_scn"} 20260613_031206.554 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.554 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260613_031206.554 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.555 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.553Z", "action": "gathered", "update_id": "26ad5cdd-0cb4-4e1f-85ec-a3a59ad30cd0"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.555 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.555 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.555 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41NTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzMTJmYjllZC0xYzBmLTQwYzMtYmQ5Mi02MGQ5NTNlNDI4YjcifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260613_031206.556 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.556 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.555Z", "action": "updated", "update_id": "312fb9ed-1c0f-40c3-bd92-60d953e428b7"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.557 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260613_031206.557 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.557 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260613_031206.557 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.557 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.558 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.558 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.558 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.574 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260613_031206.575 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.575 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/"}}] 20260613_031206.575 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.575 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.576 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.576 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.583 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.583 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.583 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.584 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.584 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260613_031206.584 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260613_031206.584 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.589 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.590 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.591 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.591 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41OTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTM0M2QyMDItNjgxMC00NDVlLTllMWMtYzQ1MjRlNjRhMzYzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.591 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.591Z", "action": "gathered", "update_id": "a343d202-6810-445e-9e1c-c4524e64a363"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.592 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.591Z", "action": "gathered", "update_id": "a343d202-6810-445e-9e1c-c4524e64a363"}, "service_component_name": "unit_test_scn"} 20260613_031206.592 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.592 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.591Z", "action": "gathered", "update_id": "a343d202-6810-445e-9e1c-c4524e64a363"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.593 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260613_031206.593 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260613_031206.593 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41OTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiODkyZjI1Zi0wNTU2LTRlYWEtYjNiYi1iNGZmMGU0OTZmNjMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260613_031206.594 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.594 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.593Z", "action": "updated", "update_id": "b892f25f-0556-4eaa-b3bb-b4ff0e496f63"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.594 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260613_031206.595 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260613_031206.595 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.595 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.593Z", "action": "updated", "update_id": "b892f25f-0556-4eaa-b3bb-b4ff0e496f63"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.595 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.596 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.596 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi41OTZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlOGQyYWVlNS1kY2RkLTRiZGQtODU0Ni01Mzk2OTZjNWM4MmMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260613_031206.596 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.597 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2026-06-13T03:12:06.596Z", "action": "updated", "update_id": "e8d2aee5-dcdd-4bdd-8546-539696c5c82c"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.597 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260613_031206.597 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.597 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260613_031206.597 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.618 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.619 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.619 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.619 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi42MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYWI3NzdkMjQtOWY3MC00YzE2LTgwMzktMTQ4MmQxNjk1NTAzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.620 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.619Z", "action": "gathered", "update_id": "ab777d24-9f70-4c16-8039-1482d1695503"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.620 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.619Z", "action": "gathered", "update_id": "ab777d24-9f70-4c16-8039-1482d1695503"}, "service_component_name": "unit_test_scn"} 20260613_031206.620 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.620 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.621 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}] 20260613_031206.621 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.619Z", "action": "gathered", "update_id": "ab777d24-9f70-4c16-8039-1482d1695503"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.621 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "property": null}}}}}, removed_policies: ["<<>>"] 20260613_031206.622 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}}} 20260613_031206.622 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}], "duplicate": [], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "property": null}}]} 20260613_031206.622 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.619Z", "action": "gathered", "update_id": "ab777d24-9f70-4c16-8039-1482d1695503"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.623 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.619Z", "action": "gathered", "update_id": "ab777d24-9f70-4c16-8039-1482d1695503"}, "service_component_name": "unit_test_scn"} 20260613_031206.623 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.623 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.623 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.640 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260613_031206.641 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.641 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.641 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.641 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.642 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.650 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.651 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.651 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.651 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi42NTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTcxZmFhMjEtYTZmYS00YzFhLWIyMzgtNjU5OWMyYmNhZjQyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.652 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.651Z", "action": "gathered", "update_id": "971faa21-a6fa-4c1a-b238-6599c2bcaf42"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.652 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.651Z", "action": "gathered", "update_id": "971faa21-a6fa-4c1a-b238-6599c2bcaf42"}, "service_component_name": "unit_test_scn"} 20260613_031206.652 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.652 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.653 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.654 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.665 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.666 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.666 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.666 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi42NjZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzhhOGEwNTctOTFkNS00NTFkLWI1OGQtZTI1OWZhOTc5MThlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.667 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.666Z", "action": "gathered", "update_id": "38a8a057-91d5-451d-b58d-e259fa97918e"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.667 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.666Z", "action": "gathered", "update_id": "38a8a057-91d5-451d-b58d-e259fa97918e"}, "service_component_name": "unit_test_scn"} 20260613_031206.667 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.668 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260613_031206.668 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260613_031206.668 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.666Z", "action": "gathered", "update_id": "38a8a057-91d5-451d-b58d-e259fa97918e"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.668 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260613_031206.669 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.669 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi42NjlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhNzY4ZGRhMS00YzJjLTQ1MjItOGFhZC01Y2FmNjM2ZGNiZjgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNDoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260613_031206.670 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.670 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.669Z", "action": "updated", "update_id": "a768dda1-4c2c-4522-8aad-5caf636dcbf8"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.670 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260613_031206.670 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260613_031206.671 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260613_031206.671 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.671 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.671 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260613_031206.671 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260613_031206.671 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.687 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.687 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.688 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.688 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.688 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260613_031206.688 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260613_031206.688 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.692 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 20260613_031206.693 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.696 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260613_031206.696 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.697 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/"}}] 20260613_031206.697 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.697 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.697 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.698 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.707 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.708 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.708 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.709 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi43MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzA3YzNiZDAtOGVhMy00M2Q5LWIxMmQtZTNkZmM1YTRlY2U4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.709 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.708Z", "action": "gathered", "update_id": "307c3bd0-8ea3-43d9-b12d-e3dfc5a4ece8"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.709 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.708Z", "action": "gathered", "update_id": "307c3bd0-8ea3-43d9-b12d-e3dfc5a4ece8"}, "service_component_name": "unit_test_scn"} 20260613_031206.709 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.710 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.708Z", "action": "gathered", "update_id": "307c3bd0-8ea3-43d9-b12d-e3dfc5a4ece8"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.710 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260613_031206.711 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260613_031206.711 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi43MTFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIwMmFjZDZiNi02MmY0LTQ5NTAtYTE4NS05MGE1NTk3ZWYzMTAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260613_031206.711 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.712 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.711Z", "action": "updated", "update_id": "02acd6b6-62f4-4950-a185-90a5597ef310"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.712 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260613_031206.712 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.711Z", "action": "updated", "update_id": "02acd6b6-62f4-4950-a185-90a5597ef310"}, "service_component_name": "unit_test_scn"} 20260613_031206.712 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.712 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.727 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260613_031206.727 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.728 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/"}}] 20260613_031206.728 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.728 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.728 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.729 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.737 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260613_031206.737 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.738 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/"}}] 20260613_031206.738 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.738 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.739 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.739 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.747 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.748 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.748 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.749 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi43NDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjVkOGE2NTItMTMwOC00ZGUxLWJkZDItMDk3MWVjNTkzOThmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.749 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.748Z", "action": "gathered", "update_id": "65d8a652-1308-4de1-bdd2-0971ec59398f"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.749 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.748Z", "action": "gathered", "update_id": "65d8a652-1308-4de1-bdd2-0971ec59398f"}, "service_component_name": "unit_test_scn"} 20260613_031206.750 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.750 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.748Z", "action": "gathered", "update_id": "65d8a652-1308-4de1-bdd2-0971ec59398f"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.750 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260613_031206.751 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260613_031206.751 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi43NTFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3NThjYWQyOC0xNDU4LTQ4YjMtYmZiOS0xMzJiMzA1N2I4MWIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260613_031206.751 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.752 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.751Z", "action": "updated", "update_id": "758cad28-1458-48b3-bfb9-132b3057b81b"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.752 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.751Z", "action": "updated", "update_id": "758cad28-1458-48b3-bfb9-132b3057b81b"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.753 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260613_031206.753 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260613_031206.753 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.751Z", "action": "updated", "update_id": "758cad28-1458-48b3-bfb9-132b3057b81b"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.753 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260613_031206.753 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-06-13T03:12:06.751Z", "action": "updated", "update_id": "758cad28-1458-48b3-bfb9-132b3057b81b"}, "service_component_name": "unit_test_scn"} 20260613_031206.754 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.754 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.772 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 20260613_031206.773 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.776 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260613_031206.777 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.777 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260613_031206.777 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.777 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.778 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.778 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.786 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.787 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.787 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"} 20260613_031206.788 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0xM1QwMzoxMjowNi43ODdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNTlkNWI3NzMtYjYwYi00NjhhLWE4ZWItNmFhMTFlMzFiMmZlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMTNUMDM6MTI6MDYuNDE3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA2OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0xM1QwNjoxMjowNi40MTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTEzVDA0OjEyOjA2LjQxN1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260613_031206.788 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.787Z", "action": "gathered", "update_id": "59d5b773-b60b-468a-a8eb-6aa11e31b2fe"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.788 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.787Z", "action": "gathered", "update_id": "59d5b773-b60b-468a-a8eb-6aa11e31b2fe"}, "service_component_name": "unit_test_scn"} 20260613_031206.788 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260613_031206.789 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.787Z", "action": "gathered", "update_id": "59d5b773-b60b-468a-a8eb-6aa11e31b2fe"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.789 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/"}}] 20260613_031206.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260613_031206.789 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260613_031206.790 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}, "policy_filters": {"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_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-06-13T03:12:06.787Z", "action": "gathered", "update_id": "59d5b773-b60b-468a-a8eb-6aa11e31b2fe"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_ts": "2026-06-13T04:12:06.417Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_ts": "2026-06-13T06:12:06.417Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_ts": "2026-06-13T07:12:06.417Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260613_031206.806 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.806 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260613_031206.806 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"max_retries": null, "retry_number": null, "name": null}, "workflow_id": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_ts": "2026-06-13T05:12:06.417Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-06-13T03:12:06.417Z", "policy_updated_from_ver": "0", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "task_name": null} 20260613_031206.806 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260613_031206.806 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear