20250913_070504.678 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 20250913_070504.679 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.683 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.684 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.684 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.685 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjI3MTVkODEtMTFhNC00NGQzLWFlMDAtODU0YTQ3YWY4ZGVhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC42ODRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.685 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f2715d81-11a4-44d3-ae00-854a47af8dea", "action": "gathered", "timestamp": "2025-09-13T07:05:04.684Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.685 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f2715d81-11a4-44d3-ae00-854a47af8dea", "action": "gathered", "timestamp": "2025-09-13T07:05:04.684Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}, "policy_persistent": true} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.686 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}, "policy_persistent": true} 20250913_070504.687 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.687 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.687 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false} 20250913_070504.687 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.697 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.698 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.698 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.698 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNzZmMmE2YmMtNTk3MC00ZmUzLTkzNjUtNDg2NGIyODA2ZDlhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC42OThaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.699 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "76f2a6bc-5970-4fe3-9365-4864b2806d9a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.698Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.699 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "76f2a6bc-5970-4fe3-9365-4864b2806d9a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.698Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.699 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.699 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.700 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}] 20250913_070504.700 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "76f2a6bc-5970-4fe3-9365-4864b2806d9a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.698Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.701 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}}, "dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20250913_070504.701 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON"}}} 20250913_070504.701 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}], "duplicate": []} 20250913_070504.701 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "76f2a6bc-5970-4fe3-9365-4864b2806d9a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.698Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.702 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "76f2a6bc-5970-4fe3-9365-4864b2806d9a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.698Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.702 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.702 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.702 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.718 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.719 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.719 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.719 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzJkYjYwYjEtMzU0OS00MmVmLWI5ZGUtMjQ4OTY1NmJiYjY5IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC43MTlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.720 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "32db60b1-3549-42ef-b9de-2489656bbb69", "action": "gathered", "timestamp": "2025-09-13T07:05:04.719Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.720 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "32db60b1-3549-42ef-b9de-2489656bbb69", "action": "gathered", "timestamp": "2025-09-13T07:05:04.719Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.720 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.721 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250913_070504.721 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.721 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "32db60b1-3549-42ef-b9de-2489656bbb69", "action": "gathered", "timestamp": "2025-09-13T07:05:04.719Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.721 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.722 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250913_070504.722 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZmM4MWEwNzgtMTRlYy00MTM4LWJlNzctYzY1Y2U1MTgwMDg5IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0LjcyMloiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.722 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.723 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "fc81a078-14ec-4138-be77-c65ce5180089", "action": "updated", "timestamp": "2025-09-13T07:05:04.722Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.723 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250913_070504.723 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.723 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250913_070504.724 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.724 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true} 20250913_070504.724 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.724 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.724 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.739 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.740 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.741 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.741 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzgxZTg1MjAtMWU4NS00MzBhLWJhYWYtYWFmZjExZWMxOWEyIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC43NDFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.741 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "381e8520-1e85-430a-baaf-aaff11ec19a2", "action": "gathered", "timestamp": "2025-09-13T07:05:04.741Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.742 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "381e8520-1e85-430a-baaf-aaff11ec19a2", "action": "gathered", "timestamp": "2025-09-13T07:05:04.741Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.742 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.742 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250913_070504.742 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.743 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "381e8520-1e85-430a-baaf-aaff11ec19a2", "action": "gathered", "timestamp": "2025-09-13T07:05:04.741Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.743 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.743 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250913_070504.743 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDAyY2ExZDMtMDcxOC00N2Q1LTk1MzUtMjIxYjkxYTBkYWMyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljc0M1oiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.744 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.744 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d02ca1d3-0718-47d5-9535-221b91a0dac2", "action": "updated", "timestamp": "2025-09-13T07:05:04.743Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true} 20250913_070504.745 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.746 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.746 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.762 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.763 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.763 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.763 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMDYwNjQ1NDYtODkzMC00YjY2LTgyZWMtZDQyMjI2NTVhZGJjIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC43NjNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.764 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "06064546-8930-4b66-82ec-d4222655adbc", "action": "gathered", "timestamp": "2025-09-13T07:05:04.763Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.764 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "06064546-8930-4b66-82ec-d4222655adbc", "action": "gathered", "timestamp": "2025-09-13T07:05:04.763Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.764 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.764 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.773 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.773 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.773 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.773 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.773 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20250913_070504.774 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250913_070504.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.778 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250913_070504.779 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.779 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.779 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.780 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.780 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.787 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.788 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.788 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.789 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiN2FlMjQ5ZGEtM2Y2Mi00ZjUxLWI1MDktNGQ1NjRiMGRhOTFmIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC43ODlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.789 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7ae249da-3f62-4f51-b509-4d564b0da91f", "action": "gathered", "timestamp": "2025-09-13T07:05:04.789Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.789 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7ae249da-3f62-4f51-b509-4d564b0da91f", "action": "gathered", "timestamp": "2025-09-13T07:05:04.789Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.790 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.790 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7ae249da-3f62-4f51-b509-4d564b0da91f", "action": "gathered", "timestamp": "2025-09-13T07:05:04.789Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.790 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250913_070504.791 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_070504.791 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiODk3M2YwNWQtMmJhMS00MDFmLWExNjYtMzE5YmJiZDVhZjkwIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljc5MVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250913_070504.791 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.792 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8973f05d-2ba1-401f-a166-319bbbd5af90", "action": "updated", "timestamp": "2025-09-13T07:05:04.791Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.792 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250913_070504.792 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "8973f05d-2ba1-401f-a166-319bbbd5af90", "action": "updated", "timestamp": "2025-09-13T07:05:04.791Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.792 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.792 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.805 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 20250913_070504.805 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.809 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.810 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.810 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.810 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNTUzOTUzYjEtNTVlZS00ZDVhLWE0YjMtODU1YWU5YTI2ZjFhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC44MTBaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.811 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "553953b1-55ee-4d5a-a4b3-855ae9a26f1a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.810Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.811 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "553953b1-55ee-4d5a-a4b3-855ae9a26f1a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.810Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.811 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.812 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "553953b1-55ee-4d5a-a4b3-855ae9a26f1a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.810Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.812 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250913_070504.812 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.812 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.813 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "553953b1-55ee-4d5a-a4b3-855ae9a26f1a", "action": "gathered", "timestamp": "2025-09-13T07:05:04.810Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.813 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.826 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.826 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250913_070504.826 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.826 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250913_070504.826 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.830 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.830 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-maven-clm-master/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) 20250913_070504.830 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) 20250913_070504.831 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.835 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.836 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.836 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.836 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMmEzNGY1NDQtMjkyNy00ZjJjLTljODgtMTA3NmQ3YjZjZjAyIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC44MzZaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.837 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2a34f544-2927-4f2c-9c88-1076d7b6cf02", "action": "gathered", "timestamp": "2025-09-13T07:05:04.836Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.837 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2a34f544-2927-4f2c-9c88-1076d7b6cf02", "action": "gathered", "timestamp": "2025-09-13T07:05:04.836Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.837 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.838 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2a34f544-2927-4f2c-9c88-1076d7b6cf02", "action": "gathered", "timestamp": "2025-09-13T07:05:04.836Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.838 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250913_070504.838 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_070504.839 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNmRlNDc2ZDUtMDdjNy00ZGUxLTkxYTItNjBjMmE0NmRlZWFjIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0LjgzOVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250913_070504.839 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.839 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6de476d5-07c7-4de1-91a2-60c2a46deeac", "action": "updated", "timestamp": "2025-09-13T07:05:04.839Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250913_070504.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250913_070504.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.840 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6de476d5-07c7-4de1-91a2-60c2a46deeac", "action": "updated", "timestamp": "2025-09-13T07:05:04.839Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.841 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.841 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250913_070504.841 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMmZlMjFiZGItNTdkNy00OTdlLWEyODQtY2E2NTc4MzJhNGFkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljg0MVoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}] 20250913_070504.841 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.842 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2fe21bdb-57d7-497e-a284-ca657832a4ad", "action": "updated", "timestamp": "2025-09-13T07:05:04.841Z", "policies_count": 2}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.842 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_070504.842 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.842 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250913_070504.843 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.862 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_070504.862 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.862 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250913_070504.862 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.863 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.863 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.863 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.871 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.872 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.872 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.872 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMjIwZGU4MTQtNzhiMS00NDIyLTgwYzAtZWQzMTE5NjcxZWFhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC44NzJaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.873 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "220de814-78b1-4422-80c0-ed3119671eaa", "action": "gathered", "timestamp": "2025-09-13T07:05:04.872Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.873 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "220de814-78b1-4422-80c0-ed3119671eaa", "action": "gathered", "timestamp": "2025-09-13T07:05:04.872Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.873 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.873 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250913_070504.873 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.874 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "220de814-78b1-4422-80c0-ed3119671eaa", "action": "gathered", "timestamp": "2025-09-13T07:05:04.872Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.874 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.874 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250913_070504.875 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNmM4NGQ1OWYtZDFhNS00NWE5LWE2ZTgtN2QyYTdhZGEyOTc1IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljg3NVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.875 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.876 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6c84d59f-d1a5-45a9-a6e8-7d2a7ada2975", "action": "updated", "timestamp": "2025-09-13T07:05:04.875Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.876 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250913_070504.876 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.876 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250913_070504.876 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.877 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true} 20250913_070504.877 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.877 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.877 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.892 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.893 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.893 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.894 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZGY4M2ZhMjgtNTIyYi00YTZmLWIzNjYtNmVmOTU5NDNhYmE4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC44OTRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.894 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "df83fa28-522b-4a6f-b366-6ef95943aba8", "action": "gathered", "timestamp": "2025-09-13T07:05:04.894Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.894 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "df83fa28-522b-4a6f-b366-6ef95943aba8", "action": "gathered", "timestamp": "2025-09-13T07:05:04.894Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.895 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.895 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "df83fa28-522b-4a6f-b366-6ef95943aba8", "action": "gathered", "timestamp": "2025-09-13T07:05:04.894Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.895 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250913_070504.896 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_070504.896 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYmNlNGRjNzgtODEzNC00M2ZiLTgyYjktOTU2YWM5OTk2ZjQ3IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljg5NloiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250913_070504.896 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.897 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "bce4dc78-8134-43fb-82b9-956ac9996f47", "action": "updated", "timestamp": "2025-09-13T07:05:04.896Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.897 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "bce4dc78-8134-43fb-82b9-956ac9996f47", "action": "updated", "timestamp": "2025-09-13T07:05:04.896Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.897 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250913_070504.898 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_070504.898 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "bce4dc78-8134-43fb-82b9-956ac9996f47", "action": "updated", "timestamp": "2025-09-13T07:05:04.896Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.898 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250913_070504.898 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "bce4dc78-8134-43fb-82b9-956ac9996f47", "action": "updated", "timestamp": "2025-09-13T07:05:04.896Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.899 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.899 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.916 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.916 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-maven-clm-master/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) 20250913_070504.916 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) 20250913_070504.917 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.921 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250913_070504.922 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.922 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250913_070504.922 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.922 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.923 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.923 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.930 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_070504.931 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.931 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250913_070504.931 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.931 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.932 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.932 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.939 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.940 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.941 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.941 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjQ0YzU0NjgtMjJiYy00ZTQwLWE3MzctZGVhMzk2OWI0YTVlIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC45NDFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.941 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f44c5468-22bc-4e40-a737-dea3969b4a5e", "action": "gathered", "timestamp": "2025-09-13T07:05:04.941Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.942 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f44c5468-22bc-4e40-a737-dea3969b4a5e", "action": "gathered", "timestamp": "2025-09-13T07:05:04.941Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.942 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.942 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f44c5468-22bc-4e40-a737-dea3969b4a5e", "action": "gathered", "timestamp": "2025-09-13T07:05:04.941Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.942 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250913_070504.943 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.943 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.943 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f44c5468-22bc-4e40-a737-dea3969b4a5e", "action": "gathered", "timestamp": "2025-09-13T07:05:04.941Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.943 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.957 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_070504.958 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.958 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250913_070504.958 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.958 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.959 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.959 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.966 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.967 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.968 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.968 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNjhlYzkwODEtMDFjYy00ZTU0LWI5YzItYjdkNjVjZDZmMjBiIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC45NjhaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.968 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "68ec9081-01cc-4e54-b9c2-b7d65cd6f20b", "action": "gathered", "timestamp": "2025-09-13T07:05:04.968Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.969 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "68ec9081-01cc-4e54-b9c2-b7d65cd6f20b", "action": "gathered", "timestamp": "2025-09-13T07:05:04.968Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.969 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.969 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}] 20250913_070504.969 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.970 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "68ec9081-01cc-4e54-b9c2-b7d65cd6f20b", "action": "gathered", "timestamp": "2025-09-13T07:05:04.968Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.970 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.970 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}} 20250913_070504.970 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZDZmZWQ3NWYtMWExYy00ZDI5LWEyZDctMGU4ZmZjYjc1YTNiIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljk3MFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.971 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.971 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "d6fed75f-1a1c-4d29-a2d7-0e8ffcb75a3b", "action": "updated", "timestamp": "2025-09-13T07:05:04.970Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false} 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true} 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true} 20250913_070504.972 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250913_070504.973 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true} 20250913_070504.973 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070504.988 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.989 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070504.989 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.989 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzQ2YzUwNDMtOTZiYi00Yzc5LWIzYmUtODM2NGM0ODdiOGZjIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwNzowNTowNC45ODlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDc6MDU6MDQuNjU2WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QxMDowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA4OjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDEwOjA1OjA0LjY1NloiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250913_070504.990 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "346c5043-96bb-4c79-b3be-8364c487b8fc", "action": "gathered", "timestamp": "2025-09-13T07:05:04.989Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.990 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "346c5043-96bb-4c79-b3be-8364c487b8fc", "action": "gathered", "timestamp": "2025-09-13T07:05:04.989Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250913_070504.990 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}} 20250913_070504.991 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "property": null}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "346c5043-96bb-4c79-b3be-8364c487b8fc", "action": "gathered", "timestamp": "2025-09-13T07:05:04.989Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.991 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250913_070504.991 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_070504.991 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNTM3YWVmZGYtMGZiZi00NDU5LTgxYzQtOGNlYjMxZjg0NzY2IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljk5MVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250913_070504.992 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.992 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "537aefdf-0fbf-4459-81c4-8ceb31f84766", "action": "updated", "timestamp": "2025-09-13T07:05:04.991Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.992 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250913_070504.993 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_070504.993 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "537aefdf-0fbf-4459-81c4-8ceb31f84766", "action": "updated", "timestamp": "2025-09-13T07:05:04.991Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.993 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_070504.993 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250913_070504.994 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiM2U1YzcwZmUtYjczMi00MDM3LTkxZWMtZDUxNGU4OGJmYmY0IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTEzVDA3OjA1OjA0Ljk5NFoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwODowNTowNC42NTZaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}] 20250913_070504.994 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070504.995 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "3e5c70fe-b732-4037-91ec-d514e88bfbf4", "action": "updated", "timestamp": "2025-09-13T07:05:04.994Z", "policies_count": 2}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070504.995 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250913_070504.995 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250913_070504.995 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250913_070504.995 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070505.014 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_070505.015 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070505.015 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250913_070505.015 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070505.015 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070505.016 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T07:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T08:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T10:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T11:05:04.656Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070505.016 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_070505.023 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070505.023 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_070505.023 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250913_070505.023 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "task_target": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "config": {"policy_updated_ts": "2025-09-13T09:05:04.656Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id"} 20250913_070505.023 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-09-13T07:05:04.656Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20250913_070505.024 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250913_070505.024 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear