20260516_070602.112 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.113 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.114 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.114 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4xMTRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzk1ZTgwZGItYWE0Ny00MzczLTk0M2ItYjRhZWY3MDAzZjU0In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.115 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.114Z", "action": "gathered", "update_id": "c95e80db-aa47-4373-943b-b4aef7003f54"}}}, "task_target": null} 20260516_070602.115 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.114Z", "action": "gathered", "update_id": "c95e80db-aa47-4373-943b-b4aef7003f54"}} 20260516_070602.115 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.115 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.114Z", "action": "gathered", "update_id": "c95e80db-aa47-4373-943b-b4aef7003f54"}}}, "task_target": null} 20260516_070602.116 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260516_070602.116 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_070602.116 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4xMTZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhNDA5OWY0Zi1lZDg4LTQ3YTEtYTk5My1mMmZmZTExYjc0NTYifQ==", "Key": "unit_test_scn:policies/event"}}] 20260516_070602.117 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.117 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.116Z", "action": "updated", "update_id": "a4099f4f-ed88-47a1-a993-f2ffe11b7456"}}}, "task_target": null} 20260516_070602.117 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260516_070602.117 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.116Z", "action": "updated", "update_id": "a4099f4f-ed88-47a1-a993-f2ffe11b7456"}} 20260516_070602.117 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.118 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.126 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260516_070602.127 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.127 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_070602.127 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.127 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.128 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.128 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.135 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null} 20260516_070602.135 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260516_070602.135 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null} 20260516_070602.135 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260516_070602.135 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.140 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.141 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.141 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.141 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4xNDFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZGNkNDFlYTMtMmZlYS00MjQzLTk0OTEtOTczMTU2YzUxMjllIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.142 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.141Z", "action": "gathered", "update_id": "dcd41ea3-2fea-4243-9491-973156c5129e"}}}, "task_target": null} 20260516_070602.142 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.141Z", "action": "gathered", "update_id": "dcd41ea3-2fea-4243-9491-973156c5129e"}} 20260516_070602.142 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.143 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.141Z", "action": "gathered", "update_id": "dcd41ea3-2fea-4243-9491-973156c5129e"}}}, "task_target": null} 20260516_070602.143 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260516_070602.143 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_070602.144 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4xNDRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxYzVlNjYxMC1iYmUxLTRlYWEtYjBiZS01NGRmYjcxMzZhOGIifQ==", "Key": "unit_test_scn:policies/event"}}] 20260516_070602.144 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.144 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.144Z", "action": "updated", "update_id": "1c5e6610-bbe1-4eaa-b0be-54dfb7136a8b"}}}, "task_target": null} 20260516_070602.145 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.145 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.145 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.144Z", "action": "updated", "update_id": "1c5e6610-bbe1-4eaa-b0be-54dfb7136a8b"}}}, "task_target": null} 20260516_070602.146 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.146 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.146 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4xNDZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjYzY2N2U1NS00YTg1LTRmNTQtYjZkMS0yOTYwM2U1ZjJlYzkifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260516_070602.146 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.147 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 2, "timestamp": "2026-05-16T07:06:02.146Z", "action": "updated", "update_id": "cc667e55-4a85-4f54-b6d1-29603e5f2ec9"}}}, "task_target": null} 20260516_070602.147 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260516_070602.147 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.147 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.147 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.166 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.167 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) 20260516_070602.167 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) 20260516_070602.167 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.172 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260516_070602.172 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}}, "task_target": null} 20260516_070602.173 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.173 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.173 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}}, "task_target": null} 20260516_070602.173 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.181 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260516_070602.181 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.181 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_070602.182 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.182 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.182 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.182 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.189 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 20260516_070602.189 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.192 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null} 20260516_070602.192 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) 20260516_070602.192 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) 20260516_070602.192 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.196 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260516_070602.197 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.197 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_070602.197 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.197 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.198 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.198 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.206 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.207 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.207 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.207 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yMDdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjYyODU2ODgtMzI4NS00ZDg1LThjOWYtMWJlNjMwMzc0YWExIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.208 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.207Z", "action": "gathered", "update_id": "66285688-3285-4d85-8c9f-1be630374aa1"}}}, "task_target": null} 20260516_070602.208 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.207Z", "action": "gathered", "update_id": "66285688-3285-4d85-8c9f-1be630374aa1"}} 20260516_070602.208 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.208 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.208 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.209 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.207Z", "action": "gathered", "update_id": "66285688-3285-4d85-8c9f-1be630374aa1"}}}, "task_target": null} 20260516_070602.209 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.209 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.210 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yMDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlMjdhMTllZC0yYzQ2LTRiMGItODVlZS01YWZlNjdiMTc1YzgifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.210 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.211 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.209Z", "action": "updated", "update_id": "e27a19ed-2c46-4b0b-85ee-5afe67b175c8"}}}, "task_target": null} 20260516_070602.211 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260516_070602.211 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.211 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.211 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.211 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.212 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.212 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.212 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.227 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.228 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.229 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.229 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yMjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDhkZjhhZWEtMjRjZi00YWI5LTg3OGEtOGYwMGNjMmIwYzkwIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.229 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.229Z", "action": "gathered", "update_id": "08df8aea-24cf-4ab9-878a-8f00cc2b0c90"}}}, "task_target": null} 20260516_070602.230 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.229Z", "action": "gathered", "update_id": "08df8aea-24cf-4ab9-878a-8f00cc2b0c90"}} 20260516_070602.230 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.230 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.239 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.240 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.240 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.241 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yNDBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDk0YjQyNjktZTAwYS00ZGZhLWIzMWQtNDlkMzRmNWYwZmU1In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.241 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.240Z", "action": "gathered", "update_id": "094b4269-e00a-4dfa-b31d-49d34f5f0fe5"}}}, "task_target": null} 20260516_070602.241 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.240Z", "action": "gathered", "update_id": "094b4269-e00a-4dfa-b31d-49d34f5f0fe5"}} 20260516_070602.241 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.242 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.243 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.243 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.243 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.252 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.252 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.252 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.253 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null} 20260516_070602.253 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260516_070602.253 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260516_070602.253 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.258 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.259 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.259 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.259 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yNTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjNjZWI2OTctOGNmYS00NjFmLTk0MGMtYzgxN2Y2YTE2MDYzIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.260 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.259Z", "action": "gathered", "update_id": "63ceb697-8cfa-461f-940c-c817f6a16063"}}}, "task_target": null} 20260516_070602.260 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.259Z", "action": "gathered", "update_id": "63ceb697-8cfa-461f-940c-c817f6a16063"}} 20260516_070602.260 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.261 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.259Z", "action": "gathered", "update_id": "63ceb697-8cfa-461f-940c-c817f6a16063"}}}, "task_target": null} 20260516_070602.261 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260516_070602.262 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_070602.262 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yNjJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIwODBlMWM2ZS00MTRlLTRiZDYtOGE5OC01NDI3ZTZlYTlmNTQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260516_070602.262 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.263 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.262Z", "action": "updated", "update_id": "080e1c6e-414e-4bd6-8a98-5427e6ea9f54"}}}, "task_target": null} 20260516_070602.263 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.262Z", "action": "updated", "update_id": "080e1c6e-414e-4bd6-8a98-5427e6ea9f54"}}}, "task_target": null} 20260516_070602.263 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260516_070602.263 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_070602.264 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.262Z", "action": "updated", "update_id": "080e1c6e-414e-4bd6-8a98-5427e6ea9f54"}}}, "task_target": null} 20260516_070602.264 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260516_070602.264 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.262Z", "action": "updated", "update_id": "080e1c6e-414e-4bd6-8a98-5427e6ea9f54"}} 20260516_070602.264 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.265 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.284 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.285 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.285 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.285 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yODVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmJjNzUwZTctMGEzYi00MDU5LTkzNWQtZDk2ZjgwZTJkOWU4In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.286 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.285Z", "action": "gathered", "update_id": "2bc750e7-0a3b-4059-935d-d96f80e2d9e8"}}}, "task_target": null} 20260516_070602.286 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.285Z", "action": "gathered", "update_id": "2bc750e7-0a3b-4059-935d-d96f80e2d9e8"}} 20260516_070602.286 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.286 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.286 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.287 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.285Z", "action": "gathered", "update_id": "2bc750e7-0a3b-4059-935d-d96f80e2d9e8"}}}, "task_target": null} 20260516_070602.287 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.287 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.288 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4yODdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5YzQ2ZWM4MC1iZTUxLTQyZmEtODBlZi05MTYzYTEyMDIzZDQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.288 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.289 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.287Z", "action": "updated", "update_id": "9c46ec80-be51-42fa-80ef-9163a12023d4"}}}, "task_target": null} 20260516_070602.289 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_070602.289 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.289 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.289 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.289 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.290 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.290 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.290 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.306 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.307 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4zMDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjk3MTllNGQtYzI0Ni00YjYzLWEyN2EtOTgwNTYzYTExYmY2In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.307 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.306Z", "action": "gathered", "update_id": "29719e4d-c246-4b63-a27a-980563a11bf6"}}}, "task_target": null} 20260516_070602.307 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.306Z", "action": "gathered", "update_id": "29719e4d-c246-4b63-a27a-980563a11bf6"}} 20260516_070602.308 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.308 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.308 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.308 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.306Z", "action": "gathered", "update_id": "29719e4d-c246-4b63-a27a-980563a11bf6"}}}, "task_target": null} 20260516_070602.309 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.309 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.309 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4zMDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMzdhNDY5YS0wNGE1LTQxNWUtODAxYy01MDQ0NzkwNDg3YzkifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04ifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.310 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.310 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.309Z", "action": "updated", "update_id": "f37a469a-04a5-415e-801c-5044790487c9"}}}, "task_target": null} 20260516_070602.310 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_070602.310 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.311 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.311 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.311 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.311 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.311 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.311 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.326 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.327 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.328 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.328 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4zMjhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmU2MmQwZmUtYjljYy00NWM5LTljMGMtNjIzZTU3YWVhYTE1In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.328 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.328Z", "action": "gathered", "update_id": "2e62d0fe-b9cc-45c9-9c0c-623e57aeaa15"}}}, "task_target": null} 20260516_070602.329 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.328Z", "action": "gathered", "update_id": "2e62d0fe-b9cc-45c9-9c0c-623e57aeaa15"}} 20260516_070602.329 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.329 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.328Z", "action": "gathered", "update_id": "2e62d0fe-b9cc-45c9-9c0c-623e57aeaa15"}}}, "task_target": null} 20260516_070602.330 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260516_070602.330 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.330 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.330 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.328Z", "action": "gathered", "update_id": "2e62d0fe-b9cc-45c9-9c0c-623e57aeaa15"}}}, "task_target": null} 20260516_070602.330 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.345 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260516_070602.346 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.346 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260516_070602.346 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.346 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.347 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.347 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.354 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.355 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.356 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.356 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4zNTZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzhjN2EyMzAtOWIyMi00M2I1LTg1NjItYTI5NjliMmJjYzVjIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.356 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.356Z", "action": "gathered", "update_id": "c8c7a230-9b22-43b5-8562-a2969b2bcc5c"}}}, "task_target": null} 20260516_070602.357 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.356Z", "action": "gathered", "update_id": "c8c7a230-9b22-43b5-8562-a2969b2bcc5c"}} 20260516_070602.357 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.357 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.357 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.358 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.356Z", "action": "gathered", "update_id": "c8c7a230-9b22-43b5-8562-a2969b2bcc5c"}}}, "task_target": null} 20260516_070602.358 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20260516_070602.358 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.359 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "duplicate": []} 20260516_070602.359 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.356Z", "action": "gathered", "update_id": "c8c7a230-9b22-43b5-8562-a2969b2bcc5c"}}}, "task_target": null} 20260516_070602.359 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.356Z", "action": "gathered", "update_id": "c8c7a230-9b22-43b5-8562-a2969b2bcc5c"}} 20260516_070602.359 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.360 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.360 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.374 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.375 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.375 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.375 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null} 20260516_070602.375 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260516_070602.375 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260516_070602.376 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.380 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.381 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.382 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.382 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi4zODJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDBhNGNkM2UtZjgzMy00OTgxLWI0NWUtNmI5YzEzZWZkNDIxIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.382 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.382Z", "action": "gathered", "update_id": "00a4cd3e-f833-4981-b45e-6b9c13efd421"}}}, "task_target": null} 20260516_070602.383 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.382Z", "action": "gathered", "update_id": "00a4cd3e-f833-4981-b45e-6b9c13efd421"}} 20260516_070602.383 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.383 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.382Z", "action": "gathered", "update_id": "00a4cd3e-f833-4981-b45e-6b9c13efd421"}}}, "task_target": null} 20260516_070602.384 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260516_070602.384 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.384 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.384 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.382Z", "action": "gathered", "update_id": "00a4cd3e-f833-4981-b45e-6b9c13efd421"}}}, "task_target": null} 20260516_070602.385 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.399 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.401 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.401 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.401 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi40MDFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZmJiOWNjNjctMzk4YS00YzE1LWIxNzAtNTgyNDJjMmY4MTg2In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.402 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.401Z", "action": "gathered", "update_id": "fbb9cc67-398a-4c15-b170-58242c2f8186"}}}, "task_target": null} 20260516_070602.402 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.401Z", "action": "gathered", "update_id": "fbb9cc67-398a-4c15-b170-58242c2f8186"}} 20260516_070602.402 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.402 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.402 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.403 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.401Z", "action": "gathered", "update_id": "fbb9cc67-398a-4c15-b170-58242c2f8186"}}}, "task_target": null} 20260516_070602.403 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.403 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.404 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi40MDRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJkYjIyZTAxZC1mZTVmLTQ2NWQtYWM2OS1iMDU2YzkzNTg5MjAifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.404 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.405 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.404Z", "action": "updated", "update_id": "db22e01d-fe5f-465d-ac69-b056c9358920"}}}, "task_target": null} 20260516_070602.405 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260516_070602.405 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.405 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.405 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.406 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.406 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.406 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20260516_070602.406 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.421 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 20260516_070602.421 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.424 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260516_070602.425 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.425 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_070602.425 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.425 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.426 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "policies_event": {}}}, "task_target": null} 20260516_070602.426 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_070602.434 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null} 20260516_070602.435 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_070602.435 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.435 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi40MzVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzQ3MDk2NDMtZTZjOS00OGRjLWI3OGQtZjI2MzZkMzFiMDQxIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQxMDowNjowMi4wODlaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA4OjA2OjAyLjA4OVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDc6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMTA6MDY6MDIuMDg5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260516_070602.436 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.435Z", "action": "gathered", "update_id": "c4709643-e6c9-48dc-b78d-f2636d31b041"}}}, "task_target": null} 20260516_070602.436 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.435Z", "action": "gathered", "update_id": "c4709643-e6c9-48dc-b78d-f2636d31b041"}} 20260516_070602.436 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20260516_070602.436 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 4, "timestamp": "2026-05-16T07:06:02.435Z", "action": "gathered", "update_id": "c4709643-e6c9-48dc-b78d-f2636d31b041"}}}, "task_target": null} 20260516_070602.437 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260516_070602.437 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_070602.437 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi40MzdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIyODQ5ZDQ5ZC0zNjY5LTQ0ZDctYWE0YS1kNzAyOWJlMDJjYzUifQ==", "Key": "unit_test_scn:policies/event"}}] 20260516_070602.438 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.438 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.437Z", "action": "updated", "update_id": "2849d49d-3669-44d7-aa4a-d7029be02cc5"}}}, "task_target": null} 20260516_070602.438 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260516_070602.439 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260516_070602.439 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_070602.439 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 0, "timestamp": "2026-05-16T07:06:02.437Z", "action": "updated", "update_id": "2849d49d-3669-44d7-aa4a-d7029be02cc5"}}}, "task_target": null} 20260516_070602.439 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_070602.440 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260516_070602.440 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0xNlQwNzowNjowMi40NDBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2YjRmYjFhMy1jNTIzLTRjYjQtYmU4ZC1mNmQ3MWFiOTZjYTQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0xNlQwODowNjowMi4wODlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260516_070602.440 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260516_070602.441 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "task_name": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T09:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T07:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_ts": "2026-05-16T10:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-16T11:06:02.089Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}, "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T07:06:02.089Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"policies_count": 2, "timestamp": "2026-05-16T07:06:02.440Z", "action": "updated", "update_id": "6b4fb1a3-c523-4cb4-be8d-f6d71ab96ca4"}}}, "task_target": null} 20260516_070602.441 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_070602.441 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.441 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "config": {"policy_updated_ts": "2026-05-16T08:06:02.089Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}} 20260516_070602.441 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear