20260509_070558.638 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.639 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.639 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.639 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNzRkNzhkZTAtOWY0ZC00ZDVlLThiMjQtYzMzYmYyZDAzNWIzIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYzOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.640 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "74d78de0-9f4d-4d5e-8b24-c33bf2d035b3", "timestamp": "2026-05-09T07:05:58.639Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "74d78de0-9f4d-4d5e-8b24-c33bf2d035b3", "timestamp": "2026-05-09T07:05:58.639Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.641 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.641 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "74d78de0-9f4d-4d5e-8b24-c33bf2d035b3", "timestamp": "2026-05-09T07:05:58.639Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.641 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.641 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.642 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTFjYjQ0OWUtYzM4MS00M2Q5LWEzMWEtMDgyNDE0ZGZmYWQwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjY0MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.642 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.643 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "a1cb449e-c381-43d9-a31a-082414dffad0", "timestamp": "2026-05-09T07:05:58.641Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.644 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.644 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.653 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.654 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.654 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.655 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiOTAxZjlkZWUtODUxMS00MmIxLTlkOTEtZWQwZTgxNWE4MGE0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjY1NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.655 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "901f9dee-8511-42b1-9d91-ed0e815a80a4", "timestamp": "2026-05-09T07:05:58.655Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.656 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "901f9dee-8511-42b1-9d91-ed0e815a80a4", "timestamp": "2026-05-09T07:05:58.655Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.656 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.656 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.664 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.664 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.664 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.664 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.665 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20260509_070558.665 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260509_070558.665 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.670 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.671 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.671 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.671 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiM2ZmNGZiMzEtMmI5YS00MzE2LTljNjMtNmI0ZmE5MzEwODBmIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjY3MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.672 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3ff4fb31-2b9a-4316-9c63-6b4fa931080f", "timestamp": "2026-05-09T07:05:58.671Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.672 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3ff4fb31-2b9a-4316-9c63-6b4fa931080f", "timestamp": "2026-05-09T07:05:58.671Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.672 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.672 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.673 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! "}}] 20260509_070558.673 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3ff4fb31-2b9a-4316-9c63-6b4fa931080f", "timestamp": "2026-05-09T07:05:58.671Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.673 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20260509_070558.673 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! "}}} 20260509_070558.674 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! "}}], "duplicate": []} 20260509_070558.674 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3ff4fb31-2b9a-4316-9c63-6b4fa931080f", "timestamp": "2026-05-09T07:05:58.671Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.674 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "3ff4fb31-2b9a-4316-9c63-6b4fa931080f", "timestamp": "2026-05-09T07:05:58.671Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.674 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.675 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.675 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.691 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.692 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.692 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.693 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiN2FlNjJkNjYtODBhZS00YzNjLWE5NzAtMGZlNWU2NWM2MDBhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjY5MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.693 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7ae62d66-80ae-4c3c-a970-0fe5e65c600a", "timestamp": "2026-05-09T07:05:58.692Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.693 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7ae62d66-80ae-4c3c-a970-0fe5e65c600a", "timestamp": "2026-05-09T07:05:58.692Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.694 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.694 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7ae62d66-80ae-4c3c-a970-0fe5e65c600a", "timestamp": "2026-05-09T07:05:58.692Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.694 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260509_070558.694 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.695 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.695 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "7ae62d66-80ae-4c3c-a970-0fe5e65c600a", "timestamp": "2026-05-09T07:05:58.692Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.695 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.710 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.711 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.711 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.711 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMGQwMDE4YjgtZmJkMi00ODkwLTlkMjAtYzM2OTJkYmY4NTM3IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjcxMVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.712 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "0d0018b8-fbd2-4890-9d20-c3692dbf8537", "timestamp": "2026-05-09T07:05:58.711Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.712 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "0d0018b8-fbd2-4890-9d20-c3692dbf8537", "timestamp": "2026-05-09T07:05:58.711Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.712 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.713 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "0d0018b8-fbd2-4890-9d20-c3692dbf8537", "timestamp": "2026-05-09T07:05:58.711Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.713 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260509_070558.713 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.713 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.714 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "0d0018b8-fbd2-4890-9d20-c3692dbf8537", "timestamp": "2026-05-09T07:05:58.711Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.714 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.728 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.729 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.729 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNjRlMGY4OTctOWY4MS00ZTUxLThhZTYtYTAyNWUxN2JkMWRlIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjcyOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.730 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "64e0f897-9f81-4e51-8ae6-a025e17bd1de", "timestamp": "2026-05-09T07:05:58.729Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.730 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "64e0f897-9f81-4e51-8ae6-a025e17bd1de", "timestamp": "2026-05-09T07:05:58.729Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.730 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.731 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.731 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.731 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "64e0f897-9f81-4e51-8ae6-a025e17bd1de", "timestamp": "2026-05-09T07:05:58.729Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.731 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.732 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.732 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNDljYzk5YWYtZjRiZi00ZWZkLTk4MDItMGQzZjZjMzZlZmMyIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjczMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.733 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.733 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "49cc99af-f4bf-4efd-9802-0d3f6c36efc2", "timestamp": "2026-05-09T07:05:58.732Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.733 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260509_070558.733 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.733 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.734 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.734 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.734 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.734 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.734 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.749 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260509_070558.750 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.750 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_070558.750 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.750 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.751 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.759 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.760 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.760 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.760 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTdmMzQzOTYtN2NjNy00ZjgyLThiNjQtZGMxYjA2NjZjZmQ5IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljc2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.760 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "17f34396-7cc7-4f82-8b64-dc1b0666cfd9", "timestamp": "2026-05-09T07:05:58.760Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.761 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "17f34396-7cc7-4f82-8b64-dc1b0666cfd9", "timestamp": "2026-05-09T07:05:58.760Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.761 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.761 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.761 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.761 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.762 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.762 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.762 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.762 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.762 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.762 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.772 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 20260509_070558.772 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.775 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260509_070558.776 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.776 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.776 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.776 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.777 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.783 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.783 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260509_070558.784 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.784 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260509_070558.784 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.788 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260509_070558.789 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.789 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_070558.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.789 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.790 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.796 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.797 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) 20260509_070558.797 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) 20260509_070558.797 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.801 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260509_070558.801 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.802 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_070558.802 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.802 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.802 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.803 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.810 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260509_070558.810 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.811 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260509_070558.811 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.811 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.811 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.811 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.819 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.820 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.820 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.820 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNGU1YmQ5ODEtMDgzOS00OTUyLWE5MjItMGY0NzFlNWMwNTBiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjgyMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.821 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4e5bd981-0839-4952-a922-0f471e5c050b", "timestamp": "2026-05-09T07:05:58.820Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.821 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4e5bd981-0839-4952-a922-0f471e5c050b", "timestamp": "2026-05-09T07:05:58.820Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.821 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.822 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4e5bd981-0839-4952-a922-0f471e5c050b", "timestamp": "2026-05-09T07:05:58.820Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.822 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260509_070558.822 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_070558.823 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNzlhN2EwODYtOGMzNC00OTUyLTk3Y2UtYzAyNGNmY2M5ODYzIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjgyM1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260509_070558.823 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.823 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "79a7a086-8c34-4952-97ce-c024cfcc9863", "timestamp": "2026-05-09T07:05:58.823Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.824 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": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260509_070558.824 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.824 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.824 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "79a7a086-8c34-4952-97ce-c024cfcc9863", "timestamp": "2026-05-09T07:05:58.823Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.825 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.825 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.825 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTVhMDJhZGQtNzM0Zi00ZGUxLTkxYmUtMzgwMGNmODc3YjZkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjgyNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.825 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.826 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "15a02add-734f-4de1-91be-3800cf877b6d", "timestamp": "2026-05-09T07:05:58.825Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.826 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_070558.826 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.826 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.827 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.845 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.845 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) 20260509_070558.846 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) 20260509_070558.846 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.851 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260509_070558.851 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.851 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_070558.852 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.852 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.852 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.852 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.860 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.861 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.861 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.861 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMzg4YjViOGYtNWZkOC00ZTQwLWE3Y2EtMTUyZGRkY2ZlOWI1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljg2MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.862 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "388b5b8f-5fd8-4e40-a7ca-152dddcfe9b5", "timestamp": "2026-05-09T07:05:58.861Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.862 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "388b5b8f-5fd8-4e40-a7ca-152dddcfe9b5", "timestamp": "2026-05-09T07:05:58.861Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.862 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.863 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "388b5b8f-5fd8-4e40-a7ca-152dddcfe9b5", "timestamp": "2026-05-09T07:05:58.861Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.863 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260509_070558.863 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_070558.864 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTFjMzAyOTMtZGRmOS00MWU0LWI4MzAtYmE2OGY0N2E4OGI3IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljg2NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260509_070558.864 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.864 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a1c30293-ddf9-41e4-b830-ba68f47a88b7", "timestamp": "2026-05-09T07:05:58.864Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.865 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.865 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.865 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "a1c30293-ddf9-41e4-b830-ba68f47a88b7", "timestamp": "2026-05-09T07:05:58.864Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.865 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.866 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.866 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYmNmMzc5MjMtMzAyMi00NDk5LWExZGYtOTMzYTIyZjIxZDQ1IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljg2NloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.866 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.867 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "bcf37923-3022-4499-a1df-933a22f21d45", "timestamp": "2026-05-09T07:05:58.866Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.867 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260509_070558.867 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.867 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.867 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.886 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.887 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.888 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.888 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiODkyZWMzYzgtZDkyNC00MjdlLTlhYWUtMGE1ZTBmY2E5ZDNhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljg4OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.888 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "892ec3c8-d924-427e-9aae-0a5e0fca9d3a", "timestamp": "2026-05-09T07:05:58.888Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.889 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "892ec3c8-d924-427e-9aae-0a5e0fca9d3a", "timestamp": "2026-05-09T07:05:58.888Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.889 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.889 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "892ec3c8-d924-427e-9aae-0a5e0fca9d3a", "timestamp": "2026-05-09T07:05:58.888Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.889 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260509_070558.890 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_070558.890 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiOWRkZjk2N2YtYmQyZS00ZjBjLWJhMDgtNjQwOTAxMWVkZmNlIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljg5MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260509_070558.890 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.891 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ddf967f-bd2e-4f0c-ba08-6409011edfce", "timestamp": "2026-05-09T07:05:58.890Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.891 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ddf967f-bd2e-4f0c-ba08-6409011edfce", "timestamp": "2026-05-09T07:05:58.890Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.892 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260509_070558.892 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_070558.892 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ddf967f-bd2e-4f0c-ba08-6409011edfce", "timestamp": "2026-05-09T07:05:58.890Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.892 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260509_070558.893 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9ddf967f-bd2e-4f0c-ba08-6409011edfce", "timestamp": "2026-05-09T07:05:58.890Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.893 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.893 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.911 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.912 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.913 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.913 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTEzZDU2ODEtOWIxYy00MWRhLThiMGUtODE0NGZmYWYzNGVhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjkxM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.913 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "113d5681-9b1c-41da-8b0e-8144ffaf34ea", "timestamp": "2026-05-09T07:05:58.913Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.914 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "113d5681-9b1c-41da-8b0e-8144ffaf34ea", "timestamp": "2026-05-09T07:05:58.913Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.914 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.914 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.914 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.915 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "113d5681-9b1c-41da-8b0e-8144ffaf34ea", "timestamp": "2026-05-09T07:05:58.913Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.915 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.915 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.915 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZjJiM2Y3NGEtMGNjMS00ZjFiLTk1N2EtNmM3ZDJiYzBiMDZlIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjkxNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.916 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.916 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "f2b3f74a-0cc1-4f1b-957a-6c7d2bc0b06e", "timestamp": "2026-05-09T07:05:58.915Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.918 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.932 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 20260509_070558.932 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.935 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.935 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.936 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.936 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.936 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20260509_070558.936 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260509_070558.936 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.941 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.942 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.942 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.943 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNGEyZGI5NmYtMjhiMS00MTdjLWE1MDItZDM4MTEwM2I2NzhiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljk0M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.943 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4a2db96f-28b1-417c-a502-d381103b678b", "timestamp": "2026-05-09T07:05:58.943Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.943 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4a2db96f-28b1-417c-a502-d381103b678b", "timestamp": "2026-05-09T07:05:58.943Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.944 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.944 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20260509_070558.944 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_070558.944 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "4a2db96f-28b1-417c-a502-d381103b678b", "timestamp": "2026-05-09T07:05:58.943Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.945 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_070558.945 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20260509_070558.945 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZjNmMTFiNjEtYjkxOS00YTBiLWI1ZTItMjkyNmViMzQ3MTE0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljk0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDg6MDU6NTguNjE0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.946 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.946 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "f3f11b61-b919-4a0b-b5e2-2926eb347114", "timestamp": "2026-05-09T07:05:58.945Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.946 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.947 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20260509_070558.947 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_070558.963 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.964 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_070558.964 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.964 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYzJjNThhMDgtMzY5OS00NWM4LWE1MmQtMDA1ODEyNzk2NWNiIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljk2NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA4OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4LjYxNFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMTA6MDU6NTguNjE0WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260509_070558.965 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "c2c58a08-3699-45c8-a52d-0058127965cb", "timestamp": "2026-05-09T07:05:58.964Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.965 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "c2c58a08-3699-45c8-a52d-0058127965cb", "timestamp": "2026-05-09T07:05:58.964Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.965 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20260509_070558.966 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "c2c58a08-3699-45c8-a52d-0058127965cb", "timestamp": "2026-05-09T07:05:58.964Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.966 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260509_070558.966 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_070558.967 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMGExNGEzNjQtNWQxMy00ZjhiLThjNzEtYjdiMjhiZDU1YTgyIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDA3OjA1OjU4Ljk2N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260509_070558.967 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.967 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T09:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T08:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T10:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2026-05-09T11:05:58.614Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "0a14a364-5d13-4f8b-8c71-b7b28bd55a82", "timestamp": "2026-05-09T07:05:58.967Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-05-09T07:05:58.614Z", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_target": null, "type": "node-instance", "operation": {"name": null, "retry_number": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "task_name": null, "task_queue": null} 20260509_070558.968 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260509_070558.968 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "0a14a364-5d13-4f8b-8c71-b7b28bd55a82", "timestamp": "2026-05-09T07:05:58.967Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20260509_070558.968 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-09T07:05:58.614Z", "policy_updated_from_ver": "0"} 20260509_070558.968 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear