20250906_031002.241 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.242 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.243 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.243 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": "eyJ1cGRhdGVfaWQiOiAiOWViZjZjOWYtODY0OS00Nzg5LTk2MzctZTA4NmFkYTEyMmI5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjI0M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.244 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "9ebf6c9f-8649-4789-9637-e086ada122b9", "timestamp": "2025-09-06T03:10:02.243Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.244 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "9ebf6c9f-8649-4789-9637-e086ada122b9", "timestamp": "2025-09-06T03:10:02.243Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.244 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.244 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "9ebf6c9f-8649-4789-9637-e086ada122b9", "timestamp": "2025-09-06T03:10:02.243Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.245 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"] 20250906_031002.245 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_031002.245 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": "eyJ1cGRhdGVfaWQiOiAiZmMwZTg3ZTUtZWZmNy00NTZkLWEwNmUtNzI5NWEwMTdiZDE3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjI0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250906_031002.246 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.246 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "fc0e87e5-eff7-456d-a06e-7295a017bd17", "timestamp": "2025-09-06T03:10:02.245Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.246 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.247 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.247 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "fc0e87e5-eff7-456d-a06e-7295a017bd17", "timestamp": "2025-09-06T03:10:02.245Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.247 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.247 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.248 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": "eyJ1cGRhdGVfaWQiOiAiNDRhNzJkZDUtNjM3Zi00NTBiLWFmMDQtNWI0MTY5YmE1YzkwIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjI0N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.248 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.249 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "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_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "44a72dd5-637f-450b-af04-5b4169ba5c90", "timestamp": "2025-09-06T03:10:02.247Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.249 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250906_031002.249 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.249 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.249 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.261 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.261 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250906_031002.261 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.261 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250906_031002.262 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.267 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.268 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.268 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.268 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": "eyJ1cGRhdGVfaWQiOiAiNWU0NGE3ZjUtMWM0Yy00MjA4LTk3YWMtY2U0YjQ2MmZiMjY2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjI2OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.269 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "5e44a7f5-1c4c-4208-97ac-ce4b462fb266", "timestamp": "2025-09-06T03:10:02.268Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.269 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "5e44a7f5-1c4c-4208-97ac-ce4b462fb266", "timestamp": "2025-09-06T03:10:02.268Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.269 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.269 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.270 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}] 20250906_031002.270 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "5e44a7f5-1c4c-4208-97ac-ce4b462fb266", "timestamp": "2025-09-06T03:10:02.268Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.270 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, removed_policies: ["<<>>"] 20250906_031002.271 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}} 20250906_031002.271 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}], "duplicate": []} 20250906_031002.272 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "5e44a7f5-1c4c-4208-97ac-ce4b462fb266", "timestamp": "2025-09-06T03:10:02.268Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.272 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "5e44a7f5-1c4c-4208-97ac-ce4b462fb266", "timestamp": "2025-09-06T03:10:02.268Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.272 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.272 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.272 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.289 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250906_031002.290 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.290 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"}}] 20250906_031002.290 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.290 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.291 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.291 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.298 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250906_031002.299 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.299 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250906_031002.299 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.299 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.300 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.300 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.308 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.309 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.309 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.310 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": "eyJ1cGRhdGVfaWQiOiAiZmJkMTZmODgtMjBiMi00OTA0LWFmNmMtN2E5NDJhMjMzOTVhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjMxMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.310 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "fbd16f88-20b2-4904-af6c-7a942a23395a", "timestamp": "2025-09-06T03:10:02.310Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.310 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "fbd16f88-20b2-4904-af6c-7a942a23395a", "timestamp": "2025-09-06T03:10:02.310Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.311 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.311 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.311 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.311 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "fbd16f88-20b2-4904-af6c-7a942a23395a", "timestamp": "2025-09-06T03:10:02.310Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.312 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.312 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.312 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": "eyJ1cGRhdGVfaWQiOiAiNWY1ZjRmMTEtNGVlYy00YWEwLWI1OTUtOWQzMDkyZjc4YzA4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjMxMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20250906_031002.313 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.313 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "5f5f4f11-4eec-4aa0-b595-9d3092f78c08", "timestamp": "2025-09-06T03:10:02.312Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.313 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.314 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.315 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.330 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.331 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.331 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.331 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": "eyJ1cGRhdGVfaWQiOiAiNjY2NDQ1MDYtZTMzMy00M2Q1LWI4YTAtZjg2Y2U5NGY5M2U1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjMzMVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.332 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "66644506-e333-43d5-b8a0-f86ce94f93e5", "timestamp": "2025-09-06T03:10:02.331Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.332 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "66644506-e333-43d5-b8a0-f86ce94f93e5", "timestamp": "2025-09-06T03:10:02.331Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.332 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.333 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "66644506-e333-43d5-b8a0-f86ce94f93e5", "timestamp": "2025-09-06T03:10:02.331Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.333 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"}}] 20250906_031002.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.333 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.334 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "66644506-e333-43d5-b8a0-f86ce94f93e5", "timestamp": "2025-09-06T03:10:02.331Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.334 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.349 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.349 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.350 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.350 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.350 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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20250906_031002.350 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250906_031002.351 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.355 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.355 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.355 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.356 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.356 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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20250906_031002.356 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250906_031002.356 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.361 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.362 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.362 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.363 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": "eyJ1cGRhdGVfaWQiOiAiOGNiNjE0NDYtYTk4OC00ZmM2LThmYWUtZmZiOTdkMTYyMTRlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjM2MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.363 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "8cb61446-a988-4fc6-8fae-ffb97d16214e", "timestamp": "2025-09-06T03:10:02.362Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.363 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "8cb61446-a988-4fc6-8fae-ffb97d16214e", "timestamp": "2025-09-06T03:10:02.362Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.363 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.364 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.365 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.365 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250906_031002.365 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.375 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.376 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.376 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.377 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": "eyJ1cGRhdGVfaWQiOiAiYmJjZjY0MDYtZDg4MC00NDI4LWJkZTgtM2Q1YzJjODM2ODI3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjM3NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.377 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "bbcf6406-d880-4428-bde8-3d5c2c836827", "timestamp": "2025-09-06T03:10:02.376Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.377 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "bbcf6406-d880-4428-bde8-3d5c2c836827", "timestamp": "2025-09-06T03:10:02.376Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.378 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.378 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.378 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.378 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "bbcf6406-d880-4428-bde8-3d5c2c836827", "timestamp": "2025-09-06T03:10:02.376Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.379 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.379 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.379 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": "eyJ1cGRhdGVfaWQiOiAiMmYyMjk3MzktNGI5MC00Yjk0LWE2ZjMtYWUwZDZmYWExNmVmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjM3OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20250906_031002.380 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.380 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "2f229739-4b90-4b94-a6f3-ae0d6faa16ef", "timestamp": "2025-09-06T03:10:02.379Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.380 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_031002.380 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.381 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.381 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.381 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.381 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.381 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.381 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.397 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.398 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.398 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.398 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": "eyJ1cGRhdGVfaWQiOiAiYTE4ZTg5NmMtMzhlOS00YjEzLWI3MTYtMmRhMDFhYTUzNmZlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjM5OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.399 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "a18e896c-38e9-4b13-b716-2da01aa536fe", "timestamp": "2025-09-06T03:10:02.398Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.399 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "a18e896c-38e9-4b13-b716-2da01aa536fe", "timestamp": "2025-09-06T03:10:02.398Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.399 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.400 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "a18e896c-38e9-4b13-b716-2da01aa536fe", "timestamp": "2025-09-06T03:10:02.398Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.400 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"}}] 20250906_031002.400 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.400 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.401 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "a18e896c-38e9-4b13-b716-2da01aa536fe", "timestamp": "2025-09-06T03:10:02.398Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.401 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.416 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.417 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.417 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.417 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": "eyJ1cGRhdGVfaWQiOiAiMGY2ZmUwNWMtYTIxMS00NDFjLTliMTQtMTU2NDc0ODIzYjA3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQxN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.418 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "0f6fe05c-a211-441c-9b14-156474823b07", "timestamp": "2025-09-06T03:10:02.417Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.418 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "0f6fe05c-a211-441c-9b14-156474823b07", "timestamp": "2025-09-06T03:10:02.417Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.418 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.419 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "0f6fe05c-a211-441c-9b14-156474823b07", "timestamp": "2025-09-06T03:10:02.417Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.419 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"] 20250906_031002.419 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_031002.420 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": "eyJ1cGRhdGVfaWQiOiAiYWM2MTI2ZjUtZjU1Ni00MDA5LTlhY2EtMzJhN2E4Yjk4NDI4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQyMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250906_031002.420 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.421 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "ac6126f5-f556-4009-9aca-32a7a8b98428", "timestamp": "2025-09-06T03:10:02.420Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.421 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "ac6126f5-f556-4009-9aca-32a7a8b98428", "timestamp": "2025-09-06T03:10:02.420Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.421 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"] 20250906_031002.421 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_031002.422 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "ac6126f5-f556-4009-9aca-32a7a8b98428", "timestamp": "2025-09-06T03:10:02.420Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.422 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250906_031002.422 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "ac6126f5-f556-4009-9aca-32a7a8b98428", "timestamp": "2025-09-06T03:10:02.420Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"} 20250906_031002.422 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.423 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.441 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250906_031002.442 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.442 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"}}] 20250906_031002.442 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.442 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.443 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.443 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.450 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 20250906_031002.450 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.454 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.455 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.455 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.455 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": "eyJ1cGRhdGVfaWQiOiAiMWM3NTFhM2YtNWRkOC00OTY0LTk5MGYtZWZlNTM3MTVlNjY5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQ1NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.456 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1c751a3f-5dd8-4964-990f-efe53715e669", "timestamp": "2025-09-06T03:10:02.455Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.456 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1c751a3f-5dd8-4964-990f-efe53715e669", "timestamp": "2025-09-06T03:10:02.455Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.456 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.456 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1c751a3f-5dd8-4964-990f-efe53715e669", "timestamp": "2025-09-06T03:10:02.455Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.457 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"] 20250906_031002.457 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_031002.457 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": "eyJ1cGRhdGVfaWQiOiAiNzE3YWVkZjAtYzNkZC00Y2RlLWI0NjQtYTU1NjgxYmQxYzIzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQ1N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250906_031002.458 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.458 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "717aedf0-c3dd-4cde-b464-a55681bd1c23", "timestamp": "2025-09-06T03:10:02.457Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.458 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250906_031002.459 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update", "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": "717aedf0-c3dd-4cde-b464-a55681bd1c23", "timestamp": "2025-09-06T03:10:02.457Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"} 20250906_031002.459 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.459 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.473 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250906_031002.473 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.473 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"}}] 20250906_031002.473 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.474 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.474 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.474 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.483 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.484 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.484 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.484 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": "eyJ1cGRhdGVfaWQiOiAiNGZiMGI3MjQtMzA0ZS00OTRkLWI2NGUtZTg4OWU1MWYyODY0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQ4NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.485 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "4fb0b724-304e-494d-b64e-e889e51f2864", "timestamp": "2025-09-06T03:10:02.484Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.485 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "4fb0b724-304e-494d-b64e-e889e51f2864", "timestamp": "2025-09-06T03:10:02.484Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.485 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.485 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.494 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.495 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.496 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.496 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": "eyJ1cGRhdGVfaWQiOiAiMWRlNWRlMTQtNDc2Ny00ZTlmLTljYTEtNzZhN2E5N2E2OTg1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQ5NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.496 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1de5de14-4767-4e9f-9ca1-76a7a97a6985", "timestamp": "2025-09-06T03:10:02.496Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.497 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1de5de14-4767-4e9f-9ca1-76a7a97a6985", "timestamp": "2025-09-06T03:10:02.496Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.497 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.497 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.497 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.498 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "1de5de14-4767-4e9f-9ca1-76a7a97a6985", "timestamp": "2025-09-06T03:10:02.496Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.498 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.498 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.498 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": "eyJ1cGRhdGVfaWQiOiAiODhlN2ZkM2YtZjM0MS00OTIzLWExMWQtNDZjNWIzYTM1MDdhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjQ5OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20250906_031002.499 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.499 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "88e7fd3f-f341-4923-a11d-46c5b3a3507a", "timestamp": "2025-09-06T03:10:02.498Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.500 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.501 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.501 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.516 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250906_031002.516 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.516 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"}}] 20250906_031002.517 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.517 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.517 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.517 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.525 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.526 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.526 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.526 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": "eyJ1cGRhdGVfaWQiOiAiZTI3MTA2MzktOGRmMC00Nzc1LTg4Y2MtNmI5ZWEzNjMyMWVhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjUyNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.527 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "e2710639-8df0-4775-88cc-6b9ea36321ea", "timestamp": "2025-09-06T03:10:02.526Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.527 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "e2710639-8df0-4775-88cc-6b9ea36321ea", "timestamp": "2025-09-06T03:10:02.526Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.527 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.528 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "e2710639-8df0-4775-88cc-6b9ea36321ea", "timestamp": "2025-09-06T03:10:02.526Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.528 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"] 20250906_031002.529 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_031002.529 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": "eyJ1cGRhdGVfaWQiOiAiZmU3MjY0MTEtMmZhMS00NzZjLTkzNTctYzVkYjM3MTE5MzU0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjUyOVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250906_031002.529 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.530 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_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}}, "policies_event": {"update_id": "fe726411-2fa1-476c-9357-c5db37119354", "timestamp": "2025-09-06T03:10:02.529Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.530 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}} 20250906_031002.530 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.530 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.530 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_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}}, "policies_event": {"update_id": "fe726411-2fa1-476c-9357-c5db37119354", "timestamp": "2025-09-06T03:10:02.529Z", "action": "updated", "policies_count": 0}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.531 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.531 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.531 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": "eyJ1cGRhdGVfaWQiOiAiMzk2YWFmNGEtZjQ0Zi00Nzc3LTg0ZDUtMTBlMzBmNWQ2NWZjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjUzMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.532 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.532 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "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_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "396aaf4a-f44f-4777-84d5-10e30f5d65fc", "timestamp": "2025-09-06T03:10:02.531Z", "action": "updated", "policies_count": 2}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.532 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_031002.532 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.533 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.533 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.551 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 20250906_031002.551 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.555 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.556 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.556 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.557 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": "eyJ1cGRhdGVfaWQiOiAiN2JhOTJlM2ItYmY2OS00MDYwLTkwMjgtODQxZDNiZmNkNWYzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjU1NloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwNDoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250906_031002.557 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "7ba92e3b-bf69-4060-9028-841d3bfcd5f3", "timestamp": "2025-09-06T03:10:02.556Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.557 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "7ba92e3b-bf69-4060-9028-841d3bfcd5f3", "timestamp": "2025-09-06T03:10:02.556Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"} 20250906_031002.557 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}} 20250906_031002.558 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}] 20250906_031002.558 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_031002.558 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": "7ba92e3b-bf69-4060-9028-841d3bfcd5f3", "timestamp": "2025-09-06T03:10:02.556Z", "action": "gathered", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.558 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_031002.559 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}} 20250906_031002.559 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": "eyJ1cGRhdGVfaWQiOiAiOTk2YTBkYWMtNWM3NC00ODFjLTk0YjEtOTQxZjdmOWUwYjFjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTA2VDAzOjEwOjAyLjU1OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDQ6MTA6MDIuMjE1WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwMzoxMDowMi4yMTVaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDY6MTA6MDIuMjE1WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20250906_031002.560 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"} 20250906_031002.560 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "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.*"}}}, "application_config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-09-06T03:10:02.215Z"}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true}}, "policies_event": {"update_id": "996a0dac-5c74-481c-94b1-941f7f9e0b1c", "timestamp": "2025-09-06T03:10:02.559Z", "action": "updated", "policies_count": 4}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.560 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250906_031002.560 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": false} 20250906_031002.561 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.561 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.561 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.561 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_persistent": true} 20250906_031002.561 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250906_031002.561 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.576 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.577 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250906_031002.577 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) 20250906_031002.577 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.580 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.581 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250906_031002.581 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) 20250906_031002.581 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_031002.585 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250906_031002.585 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.585 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_031002.586 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"} 20250906_031002.586 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "workflow_id": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T05:10:02.215Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T04:10:02.215Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T06:10:02.215Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}, "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": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-09-06T07:10:02.215Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}}, "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": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "db_port": "123"}, "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null}, "task_name": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-09-06T03:10:02.215Z", "weather": "snow"}}, "type": "ms.nodes.type"}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250906_031002.586 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear